pub enum FileKind {
InitEr,
InitPy,
Er,
Py,
Other,
NotFile,
}Variants§
Implementations§
Source§impl FileKind
impl FileKind
pub const fn is_init_er(&self) -> bool
pub const fn is_simple_erg_file(&self) -> bool
Trait Implementations§
impl Copy for FileKind
impl Eq for FileKind
impl StructuralPartialEq for FileKind
Auto Trait Implementations§
impl Freeze for FileKind
impl RefUnwindSafe for FileKind
impl Send for FileKind
impl Sync for FileKind
impl Unpin for FileKind
impl UnwindSafe for FileKind
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