pub enum ItemType {
Default,
File,
FileSkipCheck,
}Expand description
Item types
Variants§
Default
Default type for an item.
File
Type representing a file.
Alredy checks that the file exists on disk, and hides the result if it does not.
FileSkipCheck
Type representing a file, with filesystem checks skipped.
Similar to File but skips the check to ensure the file exists.
Trait Implementations§
impl Copy for ItemType
impl Eq for ItemType
impl StructuralPartialEq for ItemType
Auto Trait Implementations§
impl Freeze for ItemType
impl RefUnwindSafe for ItemType
impl Send for ItemType
impl Sync for ItemType
impl Unpin for ItemType
impl UnwindSafe for ItemType
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