Struct by_address::ByThinAddress
source · [−]Expand description
Similar to ByAddress
, but omits the attributes of fat pointers.
Tuple Fields
0: T
Trait Implementations
sourceimpl<T: Clone> Clone for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T: Clone> Clone for ByThinAddress<T>where
T: ?Sized + Deref,
sourcefn clone(&self) -> ByThinAddress<T>
fn clone(&self) -> ByThinAddress<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl<T: Default> Default for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T: Default> Default for ByThinAddress<T>where
T: ?Sized + Deref,
sourcefn default() -> ByThinAddress<T>
fn default() -> ByThinAddress<T>
Returns the “default value” for a type. Read more
sourceimpl<T> Deref for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> Deref for ByThinAddress<T>where
T: ?Sized + Deref,
sourceimpl<T> DerefMut for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> DerefMut for ByThinAddress<T>where
T: ?Sized + Deref,
sourceimpl<T> Hash for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> Hash for ByThinAddress<T>where
T: ?Sized + Deref,
Raw pointer hashing
sourceimpl<T> Ord for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> Ord for ByThinAddress<T>where
T: ?Sized + Deref,
Raw pointer ordering
sourceimpl<T> PartialEq<ByThinAddress<T>> for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> PartialEq<ByThinAddress<T>> for ByThinAddress<T>where
T: ?Sized + Deref,
Raw pointer equality
sourceimpl<T> PartialOrd<ByThinAddress<T>> for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> PartialOrd<ByThinAddress<T>> for ByThinAddress<T>where
T: ?Sized + Deref,
Raw pointer comparison
sourcefn partial_cmp(&self, other: &Self) -> Option<Ordering>
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<T: Copy> Copy for ByThinAddress<T>where
T: ?Sized + Deref,
impl<T> Eq for ByThinAddress<T>where
T: ?Sized + Deref,
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for ByThinAddress<T>where
T: RefUnwindSafe,
impl<T: ?Sized> Send for ByThinAddress<T>where
T: Send,
impl<T: ?Sized> Sync for ByThinAddress<T>where
T: Sync,
impl<T: ?Sized> Unpin for ByThinAddress<T>where
T: Unpin,
impl<T: ?Sized> UnwindSafe for ByThinAddress<T>where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more