Struct append_only_bytes::WeakBytesSlice
source · pub struct WeakBytesSlice { /* private fields */ }
Implementations§
source§impl WeakBytesSlice
impl WeakBytesSlice
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn slice_clone(&self, range: impl RangeBounds<usize>) -> Self
pub fn ptr_eq(&self, other: &Self) -> bool
pub fn can_merge(&self, other: &Self) -> bool
pub fn try_merge(&mut self, other: &Self) -> Result<(), MergeFailed>
pub fn start(&self) -> usize
pub fn end(&self) -> usize
pub fn upgrade(&self) -> Option<BytesSlice>
Trait Implementations§
source§impl Clone for WeakBytesSlice
impl Clone for WeakBytesSlice
source§fn clone(&self) -> WeakBytesSlice
fn clone(&self) -> WeakBytesSlice
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 more