pub struct BomBlockFile<'a> {
pub parent_path_id: u32,
pub name: Cow<'a, CStr>,
}Expand description
Block describing a named file.
Fields§
§parent_path_id: u32Internal path ID of parent path.
0 means no parent (this file exists at the root).
name: Cow<'a, CStr>The name of this file.
Only the leaf file or directory name. i.e. the final component in a path.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for BomBlockFile<'a>
impl<'a> Clone for BomBlockFile<'a>
Source§fn clone(&self) -> BomBlockFile<'a>
fn clone(&self) -> BomBlockFile<'a>
Returns a duplicate 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 moreSource§impl<'a> Debug for BomBlockFile<'a>
impl<'a> Debug for BomBlockFile<'a>
Auto Trait Implementations§
impl<'a> Freeze for BomBlockFile<'a>
impl<'a> RefUnwindSafe for BomBlockFile<'a>
impl<'a> Send for BomBlockFile<'a>
impl<'a> Sync for BomBlockFile<'a>
impl<'a> Unpin for BomBlockFile<'a>
impl<'a> UnwindSafe for BomBlockFile<'a>
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