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