pub struct DirEntryRef<'a> {
pub ino: u64,
pub off: i64,
pub file_type: u8,
pub name: &'a [u8],
}Expand description
Borrowed view of a single linux_dirent64 directory entry.
Fields§
§ino: u64§off: i64§file_type: u8§name: &'a [u8]Trait Implementations§
Source§impl<'a> Clone for DirEntryRef<'a>
impl<'a> Clone for DirEntryRef<'a>
impl<'a> Copy for DirEntryRef<'a>
Source§impl<'a> Debug for DirEntryRef<'a>
impl<'a> Debug for DirEntryRef<'a>
impl<'a> Eq for DirEntryRef<'a>
Source§impl<'a> PartialEq for DirEntryRef<'a>
impl<'a> PartialEq for DirEntryRef<'a>
impl<'a> StructuralPartialEq for DirEntryRef<'a>
Auto Trait Implementations§
impl<'a> Forget for DirEntryRef<'a>
impl<'a> Freeze for DirEntryRef<'a>
impl<'a> Move for DirEntryRef<'a>
impl<'a> RefUnwindSafe for DirEntryRef<'a>
impl<'a> Send for DirEntryRef<'a>
impl<'a> Sync for DirEntryRef<'a>
impl<'a> Unpin for DirEntryRef<'a>
impl<'a> UnsafeUnpin for DirEntryRef<'a>
impl<'a> UnwindSafe for DirEntryRef<'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