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