pub struct StorageIndex {
pub page: usize,
pub byte: usize,
}Expand description
Represents a byte position in a storage.
Fields§
§page: usize§byte: usizeImplementations§
Trait Implementations§
Source§impl Clone for StorageIndex
impl Clone for StorageIndex
Source§fn clone(&self) -> StorageIndex
fn clone(&self) -> StorageIndex
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 StorageIndex
Source§impl Debug for StorageIndex
impl Debug for StorageIndex
impl Eq for StorageIndex
Source§impl PartialEq for StorageIndex
impl PartialEq for StorageIndex
Source§fn eq(&self, other: &StorageIndex) -> bool
fn eq(&self, other: &StorageIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StorageIndex
Auto Trait Implementations§
impl Freeze for StorageIndex
impl RefUnwindSafe for StorageIndex
impl Send for StorageIndex
impl Sync for StorageIndex
impl Unpin for StorageIndex
impl UnsafeUnpin for StorageIndex
impl UnwindSafe for StorageIndex
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