pub struct BlockOffsetMapping {
pub target_block_offset: u64,
pub length: u64,
}Fields§
§target_block_offset: u64§length: u64Trait Implementations§
Source§impl Clone for BlockOffsetMapping
impl Clone for BlockOffsetMapping
Source§fn clone(&self) -> BlockOffsetMapping
fn clone(&self) -> BlockOffsetMapping
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 BlockOffsetMapping
impl Debug for BlockOffsetMapping
impl Eq for BlockOffsetMapping
Source§impl From<&BlockOffsetMapping> for BlockOffsetMapping
impl From<&BlockOffsetMapping> for BlockOffsetMapping
Source§fn from(m: &BlockOffsetMapping) -> Self
fn from(m: &BlockOffsetMapping) -> Self
Converts to this type from the input type.
Source§impl From<BlockOffsetMapping> for BlockOffsetMapping
impl From<BlockOffsetMapping> for BlockOffsetMapping
Source§fn from(m: BlockOffsetMapping) -> Self
fn from(m: BlockOffsetMapping) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BlockOffsetMapping
impl PartialEq for BlockOffsetMapping
Source§fn eq(&self, other: &BlockOffsetMapping) -> bool
fn eq(&self, other: &BlockOffsetMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BlockOffsetMapping
Source§impl TryFrom<&BlockOffsetMapping> for BlockOffsetMapping
impl TryFrom<&BlockOffsetMapping> for BlockOffsetMapping
Auto Trait Implementations§
impl Freeze for BlockOffsetMapping
impl RefUnwindSafe for BlockOffsetMapping
impl Send for BlockOffsetMapping
impl Sync for BlockOffsetMapping
impl Unpin for BlockOffsetMapping
impl UnsafeUnpin for BlockOffsetMapping
impl UnwindSafe for BlockOffsetMapping
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