pub struct StorageLocation {
pub file_counter: u32,
pub store_start: u64,
pub store_length: u32,
}
Fields§
§file_counter: u32
§store_start: u64
§store_length: u32
Trait Implementations§
Source§impl Clone for StorageLocation
impl Clone for StorageLocation
Source§fn clone(&self) -> StorageLocation
fn clone(&self) -> StorageLocation
Returns a copy of the value. Read more
1.0.0 · 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 StorageLocation
impl Debug for StorageLocation
Source§impl Default for StorageLocation
impl Default for StorageLocation
Source§fn default() -> StorageLocation
fn default() -> StorageLocation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StorageLocation
impl<'de> Deserialize<'de> for StorageLocation
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
Source§impl Display for StorageLocation
impl Display for StorageLocation
Source§impl Ord for StorageLocation
impl Ord for StorageLocation
Source§fn cmp(&self, other: &StorageLocation) -> Ordering
fn cmp(&self, other: &StorageLocation) -> Ordering
1.21.0 · 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 StorageLocation
impl PartialEq for StorageLocation
Source§impl PartialOrd for StorageLocation
impl PartialOrd for StorageLocation
Source§impl Serialize for StorageLocation
impl Serialize for StorageLocation
impl Copy for StorageLocation
impl Eq for StorageLocation
impl StructuralPartialEq for StorageLocation
Auto Trait Implementations§
impl Freeze for StorageLocation
impl RefUnwindSafe for StorageLocation
impl Send for StorageLocation
impl Sync for StorageLocation
impl Unpin for StorageLocation
impl UnwindSafe for StorageLocation
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