#[non_exhaustive]pub enum FileNodeKind {
File,
Directory,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for FileNodeKind
impl Clone for FileNodeKind
Source§fn clone(&self) -> FileNodeKind
fn clone(&self) -> FileNodeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FileNodeKind
Source§impl Debug for FileNodeKind
impl Debug for FileNodeKind
Auto Trait Implementations§
impl Freeze for FileNodeKind
impl RefUnwindSafe for FileNodeKind
impl Send for FileNodeKind
impl Sync for FileNodeKind
impl Unpin for FileNodeKind
impl UnsafeUnpin for FileNodeKind
impl UnwindSafe for FileNodeKind
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