#[repr(C)]pub struct Point3F {
pub x: f32,
pub y: f32,
pub z: f32,
}Expand description
A floating point position in a 3D cartesian space.
This type does not specify units. Protocols that use this type should specify the characteristics of the vector space, including orientation and units.
Fields§
§x: f32§y: f32§z: f32Trait Implementations§
Source§impl<'a, ___E> Encode<Point3F, ___E> for &'a Point3Fwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<Point3F, ___E> for &'a Point3Fwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<Point3F, ___E> for Point3Fwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<Point3F, ___E> for Point3Fwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<Self, Point3F>
const COPY_OPTIMIZATION: CopyOptimization<Self, Point3F>
Source§impl<'a, ___E> EncodeOption<Box<'static, Point3F>, ___E> for &'a Point3F
impl<'a, ___E> EncodeOption<Box<'static, Point3F>, ___E> for &'a Point3F
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, Point3F>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, Point3F>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl<___E> EncodeOption<Box<'static, Point3F>, ___E> for Point3F
impl<___E> EncodeOption<Box<'static, Point3F>, ___E> for Point3F
Source§fn encode_option(
this: Option<Self>,
encoder: &mut ___E,
out: &mut MaybeUninit<Box<'static, Point3F>>,
_: (),
) -> Result<(), EncodeError>
fn encode_option( this: Option<Self>, encoder: &mut ___E, out: &mut MaybeUninit<Box<'static, Point3F>>, _: (), ) -> Result<(), EncodeError>
Encodes this optional value into an encoder and output.
Source§impl FromWireRef<Point3F> for Point3F
impl FromWireRef<Point3F> for Point3F
Source§fn from_wire_ref(wire: &Point3F) -> Self
fn from_wire_ref(wire: &Point3F) -> Self
Converts the given reference to this type.
Source§impl PartialOrd for Point3F
impl PartialOrd for Point3F
impl Copy for Point3F
impl StructuralPartialEq for Point3F
Auto Trait Implementations§
impl Freeze for Point3F
impl RefUnwindSafe for Point3F
impl Send for Point3F
impl Sync for Point3F
impl Unpin for Point3F
impl UnsafeUnpin for Point3F
impl UnwindSafe for Point3F
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
impl<T, W> FromWireOption<Box<'_, W>> for Twhere
T: FromWire<W>,
§fn from_wire_option(wire: Box<'_, W>) -> Option<T>
fn from_wire_option(wire: Box<'_, W>) -> Option<T>
Converts the given owned value to an option of this type.
§impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
impl<T, W> FromWireOptionRef<Box<'_, W>> for Twhere
T: FromWireRef<W>,
§fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
fn from_wire_option_ref(wire: &Box<'_, W>) -> Option<T>
Converts the given reference to an option of this type.
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]