pub struct LayoutVersion {
pub version: u32,
pub size: u64,
}Expand description
A stored layout version.
Fields§
§version: u32The version number, counting from 1.
size: u64Its size in bytes.
Trait Implementations§
Source§impl Clone for LayoutVersion
impl Clone for LayoutVersion
Source§fn clone(&self) -> LayoutVersion
fn clone(&self) -> LayoutVersion
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 LayoutVersion
impl Debug for LayoutVersion
impl Eq for LayoutVersion
Source§impl PartialEq for LayoutVersion
impl PartialEq for LayoutVersion
Source§impl Serialize for LayoutVersion
impl Serialize for LayoutVersion
impl StructuralPartialEq for LayoutVersion
Auto Trait Implementations§
impl Freeze for LayoutVersion
impl RefUnwindSafe for LayoutVersion
impl Send for LayoutVersion
impl Sync for LayoutVersion
impl Unpin for LayoutVersion
impl UnsafeUnpin for LayoutVersion
impl UnwindSafe for LayoutVersion
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.