pub enum TreeNodeType {
File,
Directory,
}Variants§
Trait Implementations§
Source§impl Clone for TreeNodeType
impl Clone for TreeNodeType
Source§fn clone(&self) -> TreeNodeType
fn clone(&self) -> TreeNodeType
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 TreeNodeType
Source§impl Debug for TreeNodeType
impl Debug for TreeNodeType
Source§impl<'de> Deserialize<'de> for TreeNodeType
impl<'de> Deserialize<'de> for TreeNodeType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for TreeNodeType
Source§impl PartialEq for TreeNodeType
impl PartialEq for TreeNodeType
Source§fn eq(&self, other: &TreeNodeType) -> bool
fn eq(&self, other: &TreeNodeType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TreeNodeType
impl Serialize for TreeNodeType
impl StructuralPartialEq for TreeNodeType
Auto Trait Implementations§
impl Freeze for TreeNodeType
impl RefUnwindSafe for TreeNodeType
impl Send for TreeNodeType
impl Sync for TreeNodeType
impl Unpin for TreeNodeType
impl UnsafeUnpin for TreeNodeType
impl UnwindSafe for TreeNodeType
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