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