pub struct EntryOffsets {
pub next_entry_offset: usize,
pub file_name_length: usize,
pub file_name: usize,
}Expand description
Byte offsets of the three fields every supported FileXxxInformation
variant has, relative to the start of one directory-listing entry.
hooks::query_dir::get_dir_info_offsets derives these (via
offset_of! on the real struct layouts) and passes them in here; this
module doesn’t know about any specific info class, only these offsets.
Fields§
§next_entry_offset: usize§file_name_length: usize§file_name: usizeTrait Implementations§
Source§impl Clone for EntryOffsets
impl Clone for EntryOffsets
Source§fn clone(&self) -> EntryOffsets
fn clone(&self) -> EntryOffsets
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EntryOffsets
impl Debug for EntryOffsets
Source§impl PartialEq for EntryOffsets
impl PartialEq for EntryOffsets
Source§fn eq(&self, other: &EntryOffsets) -> bool
fn eq(&self, other: &EntryOffsets) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for EntryOffsets
impl Eq for EntryOffsets
impl StructuralPartialEq for EntryOffsets
Auto Trait Implementations§
impl Freeze for EntryOffsets
impl RefUnwindSafe for EntryOffsets
impl Send for EntryOffsets
impl Sync for EntryOffsets
impl Unpin for EntryOffsets
impl UnsafeUnpin for EntryOffsets
impl UnwindSafe for EntryOffsets
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