pub struct BackingSegment { /* private fields */ }Implementations§
Source§impl BackingSegment
impl BackingSegment
pub fn chunk(&self) -> &BackingChunkIdentity
pub fn pool_id(&self) -> &DynamicBackingPoolId
pub const fn chunk_ordinal(&self) -> u32
pub const fn chunk_generation(&self) -> u64
pub const fn offset_bytes(&self) -> u64
pub const fn length_bytes(&self) -> u64
Trait Implementations§
Source§impl Clone for BackingSegment
impl Clone for BackingSegment
Source§fn clone(&self) -> BackingSegment
fn clone(&self) -> BackingSegment
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 BackingSegment
impl Debug for BackingSegment
impl Eq for BackingSegment
Source§impl PartialEq for BackingSegment
impl PartialEq for BackingSegment
Source§impl Serialize for BackingSegment
impl Serialize for BackingSegment
impl StructuralPartialEq for BackingSegment
Auto Trait Implementations§
impl Freeze for BackingSegment
impl RefUnwindSafe for BackingSegment
impl Send for BackingSegment
impl Sync for BackingSegment
impl Unpin for BackingSegment
impl UnsafeUnpin for BackingSegment
impl UnwindSafe for BackingSegment
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