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