pub struct HfsEntry {
pub name: String,
pub is_dir: bool,
pub cnid: u32,
}Expand description
An entry in an HFS+ directory.
Fields§
§name: StringFile or folder name (decoded from UTF-16).
is_dir: boolTrue for a folder, false for a file.
cnid: u32Catalog node ID (CNID) of this entry.
Trait Implementations§
impl Eq for HfsEntry
impl StructuralPartialEq for HfsEntry
Auto Trait Implementations§
impl Freeze for HfsEntry
impl RefUnwindSafe for HfsEntry
impl Send for HfsEntry
impl Sync for HfsEntry
impl Unpin for HfsEntry
impl UnsafeUnpin for HfsEntry
impl UnwindSafe for HfsEntry
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