pub struct UsedLength(/* private fields */);Expand description
Exact number of device-written bytes published with a used chain.
Implementations§
Trait Implementations§
Source§impl Clone for UsedLength
impl Clone for UsedLength
Source§fn clone(&self) -> UsedLength
fn clone(&self) -> UsedLength
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 moreimpl Copy for UsedLength
Source§impl Debug for UsedLength
impl Debug for UsedLength
Source§impl Default for UsedLength
impl Default for UsedLength
Source§fn default() -> UsedLength
fn default() -> UsedLength
Returns the “default value” for a type. Read more
impl Eq for UsedLength
Source§impl Hash for UsedLength
impl Hash for UsedLength
Source§impl Ord for UsedLength
impl Ord for UsedLength
Source§fn cmp(&self, other: &UsedLength) -> Ordering
fn cmp(&self, other: &UsedLength) -> Ordering
1.21.0 (const: unstable) · 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 UsedLength
impl PartialEq for UsedLength
Source§fn eq(&self, other: &UsedLength) -> bool
fn eq(&self, other: &UsedLength) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UsedLength
impl PartialOrd for UsedLength
impl StructuralPartialEq for UsedLength
Auto Trait Implementations§
impl Freeze for UsedLength
impl RefUnwindSafe for UsedLength
impl Send for UsedLength
impl Sync for UsedLength
impl Unpin for UsedLength
impl UnsafeUnpin for UsedLength
impl UnwindSafe for UsedLength
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