pub struct TrackingSize(/* private fields */);Expand description
A size tracker that maintains the count of elements in the list.
Trait Implementations§
Source§impl Clone for TrackingSize
impl Clone for TrackingSize
Source§fn clone(&self) -> TrackingSize
fn clone(&self) -> TrackingSize
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 TrackingSize
impl SizeTracker for TrackingSize
Source§const IS_TRACKING: bool = true
const IS_TRACKING: bool = true
True if this tracker actually tracks the size.
impl Copy for TrackingSize
Auto Trait Implementations§
impl Freeze for TrackingSize
impl RefUnwindSafe for TrackingSize
impl Send for TrackingSize
impl Sync for TrackingSize
impl Unpin for TrackingSize
impl UnsafeUnpin for TrackingSize
impl UnwindSafe for TrackingSize
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