pub struct MemoryDimension(/* private fields */);Expand description
An axis within a scope.
One working session holds several strands at once — what each role did, what happened in what order, what a given subsystem showed — and an entry that names its strand can be found again by following it. An entry with no dimension is still an entry; it is just harder to come back to.
Implementations§
Trait Implementations§
Source§impl Clone for MemoryDimension
impl Clone for MemoryDimension
Source§fn clone(&self) -> MemoryDimension
fn clone(&self) -> MemoryDimension
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 Debug for MemoryDimension
impl Debug for MemoryDimension
Source§impl<'de> Deserialize<'de> for MemoryDimension
impl<'de> Deserialize<'de> for MemoryDimension
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MemoryDimension
Source§impl Hash for MemoryDimension
impl Hash for MemoryDimension
Source§impl Ord for MemoryDimension
impl Ord for MemoryDimension
Source§fn cmp(&self, other: &MemoryDimension) -> Ordering
fn cmp(&self, other: &MemoryDimension) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MemoryDimension
impl PartialEq for MemoryDimension
Source§impl PartialOrd for MemoryDimension
impl PartialOrd for MemoryDimension
Source§impl Serialize for MemoryDimension
impl Serialize for MemoryDimension
impl StructuralPartialEq for MemoryDimension
Auto Trait Implementations§
impl Freeze for MemoryDimension
impl RefUnwindSafe for MemoryDimension
impl Send for MemoryDimension
impl Sync for MemoryDimension
impl Unpin for MemoryDimension
impl UnsafeUnpin for MemoryDimension
impl UnwindSafe for MemoryDimension
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