#[repr(C)]pub struct PointF {
pub x: Float32,
pub y: Float32,
}Expand description
The wire type corresponding to PointF.
Fields§
§x: Float32§y: Float32Trait Implementations§
Source§impl Constrained for PointF
impl Constrained for PointF
Source§type Constraint = ()
type Constraint = ()
Type of constraint information for this type.
Source§impl<'a, ___E> Encode<PointF, ___E> for &'a PointFwhere
___E: InternalHandleEncoder + ?Sized,
impl<'a, ___E> Encode<PointF, ___E> for &'a PointFwhere
___E: InternalHandleEncoder + ?Sized,
Source§impl<___E> Encode<PointF, ___E> for PointFwhere
___E: InternalHandleEncoder + ?Sized,
impl<___E> Encode<PointF, ___E> for PointFwhere
___E: InternalHandleEncoder + ?Sized,
Source§const COPY_OPTIMIZATION: CopyOptimization<PointF, PointF>
const COPY_OPTIMIZATION: CopyOptimization<PointF, PointF>
Source§impl<___E, T0, T1> Encode<PointF, ___E> for PointF<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Float32, ___E>,
T1: Encode<Float32, ___E>,
impl<___E, T0, T1> Encode<PointF, ___E> for PointF<T0, T1>where
___E: InternalHandleEncoder + ?Sized,
T0: Encode<Float32, ___E>,
T1: Encode<Float32, ___E>,
Source§impl FromWireRef<PointF> for PointF
impl FromWireRef<PointF> for PointF
Source§fn from_wire_ref(wire: &PointF) -> PointF
fn from_wire_ref(wire: &PointF) -> PointF
Converts the given reference to this type.
Auto Trait Implementations§
impl Freeze for PointF
impl RefUnwindSafe for PointF
impl Send for PointF
impl Sync for PointF
impl Unpin for PointF
impl UnsafeUnpin for PointF
impl UnwindSafe for PointF
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> 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]