pub struct NullableUsize(pub usize);
Expand description
最大値をNULL
として扱うusize
Tuple Fields§
§0: usize
Implementations§
Source§impl NullableUsize
impl NullableUsize
Trait Implementations§
Source§impl Clone for NullableUsize
impl Clone for NullableUsize
Source§fn clone(&self) -> NullableUsize
fn clone(&self) -> NullableUsize
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for NullableUsize
impl Debug for NullableUsize
Source§impl Default for NullableUsize
impl Default for NullableUsize
Source§impl Hash for NullableUsize
impl Hash for NullableUsize
Source§impl Ord for NullableUsize
impl Ord for NullableUsize
Source§fn cmp(&self, other: &NullableUsize) -> Ordering
fn cmp(&self, other: &NullableUsize) -> Ordering
1.21.0 · 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
Source§impl PartialEq for NullableUsize
impl PartialEq for NullableUsize
Source§impl PartialOrd for NullableUsize
impl PartialOrd for NullableUsize
impl Copy for NullableUsize
impl Eq for NullableUsize
impl StructuralPartialEq for NullableUsize
Auto Trait Implementations§
impl Freeze for NullableUsize
impl RefUnwindSafe for NullableUsize
impl Send for NullableUsize
impl Sync for NullableUsize
impl Unpin for NullableUsize
impl UnwindSafe for NullableUsize
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