pub struct NonTrackingSize;Expand description
A size tracker that does not actually track the size (zero overhead).
Trait Implementations§
Source§impl Clone for NonTrackingSize
impl Clone for NonTrackingSize
Source§fn clone(&self) -> NonTrackingSize
fn clone(&self) -> NonTrackingSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl SizeTracker for NonTrackingSize
impl SizeTracker for NonTrackingSize
Source§const IS_TRACKING: bool = false
const IS_TRACKING: bool = false
True if this tracker actually tracks the size.
impl Copy for NonTrackingSize
Auto Trait Implementations§
impl Freeze for NonTrackingSize
impl RefUnwindSafe for NonTrackingSize
impl Send for NonTrackingSize
impl Sync for NonTrackingSize
impl Unpin for NonTrackingSize
impl UnsafeUnpin for NonTrackingSize
impl UnwindSafe for NonTrackingSize
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§impl<T> PinInit<T> for T
impl<T> PinInit<T> for T
Source§unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
unsafe fn __pinned_init(self, slot: *mut T) -> Result<(), Infallible>
Initializes
slot. Read more