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