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