pub enum RootCategory {
Vcs,
Workspace,
Package,
Docs,
Data,
}Variants§
Trait Implementations§
Source§impl Clone for RootCategory
impl Clone for RootCategory
Source§fn clone(&self) -> RootCategory
fn clone(&self) -> RootCategory
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 moreSource§impl Debug for RootCategory
impl Debug for RootCategory
Source§impl<'de> Deserialize<'de> for RootCategory
impl<'de> Deserialize<'de> for RootCategory
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
Source§impl Hash for RootCategory
impl Hash for RootCategory
Source§impl Ord for RootCategory
impl Ord for RootCategory
Source§fn cmp(&self, other: &RootCategory) -> Ordering
fn cmp(&self, other: &RootCategory) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RootCategory
impl PartialEq for RootCategory
Source§fn eq(&self, other: &RootCategory) -> bool
fn eq(&self, other: &RootCategory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RootCategory
impl PartialOrd for RootCategory
Source§impl Serialize for RootCategory
impl Serialize for RootCategory
impl Copy for RootCategory
impl Eq for RootCategory
impl StructuralPartialEq for RootCategory
Auto Trait Implementations§
impl Freeze for RootCategory
impl RefUnwindSafe for RootCategory
impl Send for RootCategory
impl Sync for RootCategory
impl Unpin for RootCategory
impl UnsafeUnpin for RootCategory
impl UnwindSafe for RootCategory
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