Struct btrfs::diskformat::BtrfsExtentItem
[−]
[src]
pub struct BtrfsExtentItem<'a> { /* fields omitted */ }
Methods
impl<'a> BtrfsExtentItem<'a>
[src]
fn from_bytes(
header: &'a BtrfsLeafItemHeader,
data_bytes: &'a [u8]
) -> Result<BtrfsExtentItem<'a>, String>
header: &'a BtrfsLeafItemHeader,
data_bytes: &'a [u8]
) -> Result<BtrfsExtentItem<'a>, String>
fn header(&self) -> &BtrfsLeafItemHeader
fn object_id(&self) -> u64
fn key(&self) -> BtrfsKey
fn offset(&self) -> u64
fn data(&self) -> &BtrfsExtentItemData
fn reference_count(&self) -> u64
fn generation(&self) -> u64
fn flags(&self) -> u64
fn first_entry_key(&self) -> BtrfsKey
fn level(&self) -> u8
Trait Implementations
impl<'a> Copy for BtrfsExtentItem<'a>
[src]
impl<'a> Clone for BtrfsExtentItem<'a>
[src]
fn clone(&self) -> BtrfsExtentItem<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for BtrfsExtentItem<'a>
[src]
impl<'a> Eq for BtrfsExtentItem<'a>
[src]
impl<'a> Hash for BtrfsExtentItem<'a>
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'a> PartialEq for BtrfsExtentItem<'a>
[src]
fn eq(&self, __arg_0: &BtrfsExtentItem<'a>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &BtrfsExtentItem<'a>) -> bool
This method tests for !=
.