Struct ntfs::indexes::NtfsFileNameIndex
source · pub struct NtfsFileNameIndex;
Expand description
Defines the NtfsIndexEntryType
for filename indexes (commonly known as “directories”).
Implementations§
source§impl NtfsFileNameIndex
impl NtfsFileNameIndex
sourcepub fn find<'a, T>(
index_finder: &'a mut NtfsIndexFinder<'_, '_, '_, Self>,
ntfs: &Ntfs,
fs: &mut T,
name: &str
) -> Option<Result<NtfsIndexEntry<'a, Self>>>where
T: Read + Seek,
pub fn find<'a, T>( index_finder: &'a mut NtfsIndexFinder<'_, '_, '_, Self>, ntfs: &Ntfs, fs: &mut T, name: &str ) -> Option<Result<NtfsIndexEntry<'a, Self>>>where T: Read + Seek,
Finds a file in a filename index by name and returns the NtfsIndexEntry
(if any).
The name is compared case-insensitively based on the filesystem’s $UpCase table.
Panics
Panics if read_upcase_table
had not been called on the passed Ntfs
object.
Trait Implementations§
source§impl Clone for NtfsFileNameIndex
impl Clone for NtfsFileNameIndex
source§fn clone(&self) -> NtfsFileNameIndex
fn clone(&self) -> NtfsFileNameIndex
Returns a copy 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 Debug for NtfsFileNameIndex
impl Debug for NtfsFileNameIndex
source§impl NtfsIndexEntryType for NtfsFileNameIndex
impl NtfsIndexEntryType for NtfsFileNameIndex
type KeyType = NtfsFileName
impl Copy for NtfsFileNameIndex
impl NtfsIndexEntryHasFileReference for NtfsFileNameIndex
Auto Trait Implementations§
impl RefUnwindSafe for NtfsFileNameIndex
impl Send for NtfsFileNameIndex
impl Sync for NtfsFileNameIndex
impl Unpin for NtfsFileNameIndex
impl UnwindSafe for NtfsFileNameIndex
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