pub enum NameMatch {
No,
Maybe,
Yes,
}Expand description
How a file name relates to a format.
Variants§
No
Not this format’s name.
Maybe
Possibly this format, if the content agrees: ls.1 may be a man
page or a rotated log, key.asc AsciiDoc or a PGP signature.
Yes
This format’s own extension (.org, .adoc).
Trait Implementations§
impl Copy for NameMatch
impl Eq for NameMatch
impl StructuralPartialEq for NameMatch
Auto Trait Implementations§
impl Freeze for NameMatch
impl RefUnwindSafe for NameMatch
impl Send for NameMatch
impl Sync for NameMatch
impl Unpin for NameMatch
impl UnsafeUnpin for NameMatch
impl UnwindSafe for NameMatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.