pub struct Osize(/* private fields */);
Trait Implementations§
Source§impl Ord for Osize
impl Ord for Osize
Source§impl Ordinal for Osize
impl Ordinal for Osize
Source§type IntegerType = usize
type IntegerType = usize
This type by which this ordinal type is represented
Source§fn into0(self) -> Self::IntegerType
fn into0(self) -> Self::IntegerType
Returns the equivalent integer assuming the ordinal number is 0-based
Source§fn into1(self) -> Self::IntegerType
fn into1(self) -> Self::IntegerType
Returns the equivalent integer assuming the ordinal number is 1-based
Source§fn try_from0(t: Self::IntegerType) -> Option<Self>
fn try_from0(t: Self::IntegerType) -> Option<Self>
Tries to convert an integer to a 0-based ordinal number. Read more
Source§fn try_from1(t: Self::IntegerType) -> Option<Self>
fn try_from1(t: Self::IntegerType) -> Option<Self>
Tries to convert an integer to a 1-based ordinal number. Read more
Source§fn from0(t: Self::IntegerType) -> Self
fn from0(t: Self::IntegerType) -> Self
Converts an integer to a 0-based ordinal number. Read more
Source§fn from1(t: Self::IntegerType) -> Self
fn from1(t: Self::IntegerType) -> Self
Converts an integer to a 1-based ordinal number. Read more
Source§impl PartialOrd for Osize
impl PartialOrd for Osize
impl Copy for Osize
impl Eq for Osize
impl StructuralPartialEq for Osize
Auto Trait Implementations§
impl Freeze for Osize
impl RefUnwindSafe for Osize
impl Send for Osize
impl Sync for Osize
impl Unpin for Osize
impl UnwindSafe for Osize
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