pub struct SymbolUsize { /* private fields */ }
Expand description
Symbol that is the same size as a pointer (usize
).
Is space-optimized for used in Option
.
Trait Implementations§
Source§impl Clone for SymbolUsize
impl Clone for SymbolUsize
Source§fn clone(&self) -> SymbolUsize
fn clone(&self) -> SymbolUsize
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 SymbolUsize
impl Debug for SymbolUsize
Source§impl Hash for SymbolUsize
impl Hash for SymbolUsize
Source§impl Ord for SymbolUsize
impl Ord for SymbolUsize
Source§fn cmp(&self, other: &SymbolUsize) -> Ordering
fn cmp(&self, other: &SymbolUsize) -> 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 SymbolUsize
impl PartialEq for SymbolUsize
Source§impl PartialOrd for SymbolUsize
impl PartialOrd for SymbolUsize
Source§impl Symbol for SymbolUsize
impl Symbol for SymbolUsize
impl Copy for SymbolUsize
impl Eq for SymbolUsize
impl StructuralPartialEq for SymbolUsize
Auto Trait Implementations§
impl Freeze for SymbolUsize
impl RefUnwindSafe for SymbolUsize
impl Send for SymbolUsize
impl Sync for SymbolUsize
impl Unpin for SymbolUsize
impl UnwindSafe for SymbolUsize
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,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)