pub enum DepKind {
Normal,
Development,
Build,
}Expand description
Where a dependency is declared in Cargo.toml.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DepKind
impl<'de> Deserialize<'de> for DepKind
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 Ord for DepKind
impl Ord for DepKind
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 PartialOrd for DepKind
impl PartialOrd for DepKind
impl Copy for DepKind
impl Eq for DepKind
impl StructuralPartialEq for DepKind
Auto Trait Implementations§
impl Freeze for DepKind
impl RefUnwindSafe for DepKind
impl Send for DepKind
impl Sync for DepKind
impl Unpin for DepKind
impl UnsafeUnpin for DepKind
impl UnwindSafe for DepKind
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