pub struct FileTypeMatches {
pub likely_to_be: Vec<FileType>,
pub all_matches: Vec<FileTypeMatch>,
}Fields§
§likely_to_be: Vec<FileType>FileTypes that have a perfect match.
all_matches: Vec<FileTypeMatch>All FileType that matched, perfectly or not.
Implementations§
Source§impl FileTypeMatches
impl FileTypeMatches
pub fn new( likely_to_be: Vec<FileType>, all_matches: Vec<FileTypeMatch>, ) -> FileTypeMatches
Trait Implementations§
Source§impl Clone for FileTypeMatches
impl Clone for FileTypeMatches
Source§fn clone(&self) -> FileTypeMatches
fn clone(&self) -> FileTypeMatches
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 Debug for FileTypeMatches
impl Debug for FileTypeMatches
Source§impl PartialEq for FileTypeMatches
impl PartialEq for FileTypeMatches
impl Eq for FileTypeMatches
impl StructuralPartialEq for FileTypeMatches
Auto Trait Implementations§
impl Freeze for FileTypeMatches
impl RefUnwindSafe for FileTypeMatches
impl Send for FileTypeMatches
impl Sync for FileTypeMatches
impl Unpin for FileTypeMatches
impl UnwindSafe for FileTypeMatches
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