[−][src]Struct btrfs_diskformat::RootRef
References a subvolume filesystem tree root. This is used for both forward and backward root references.
The name of the tree is stored after the end of the struct.
Fields
dirid: U64<LE>The subtree ID.
sequence: U64<LE>The directory sequence number of the subtree entry.
name_len: U16<LE>The length of the subtree name, stored after this field.
Trait Implementations
impl AsBytes for RootRef[src]
pub fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized, [src]
Self: Sized,
pub fn as_bytes(&self) -> &[u8][src]
pub fn as_bytes_mut(&mut self) -> &mut [u8] where
Self: FromBytes, [src]
Self: FromBytes,
impl Clone for RootRef[src]
impl Copy for RootRef[src]
impl Debug for RootRef[src]
impl FromBytes for RootRef[src]
pub fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized, [src]
Self: Sized,
impl Unaligned for RootRef[src]
pub fn only_derive_is_allowed_to_implement_this_trait() where
Self: Sized, [src]
Self: Sized,
Auto Trait Implementations
impl RefUnwindSafe for RootRef[src]
impl Send for RootRef[src]
impl Sync for RootRef[src]
impl Unpin for RootRef[src]
impl UnwindSafe for RootRef[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,