pub struct Ordinal(pub u32);Expand description
A member’s ordinal: its position in the interface body, counted from 1 (ridl §11). An ordinal is never 0.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for Ordinal
impl Eq for Ordinal
Source§impl Ord for Ordinal
impl Ord for Ordinal
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for Ordinal
impl PartialOrd for Ordinal
impl StructuralPartialEq for Ordinal
Auto Trait Implementations§
impl Freeze for Ordinal
impl RefUnwindSafe for Ordinal
impl Send for Ordinal
impl Sync for Ordinal
impl Unpin for Ordinal
impl UnsafeUnpin for Ordinal
impl UnwindSafe for Ordinal
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