#[non_exhaustive]#[repr(u8)]pub enum GraphDependencyType {
Default = 0,
Programmatic = 1,
}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 GraphDependencyType
impl Clone for GraphDependencyType
Source§fn clone(&self) -> GraphDependencyType
fn clone(&self) -> GraphDependencyType
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 GraphDependencyType
Source§impl Debug for GraphDependencyType
impl Debug for GraphDependencyType
impl Eq for GraphDependencyType
Source§impl From<CUgraphDependencyType_enum> for GraphDependencyType
impl From<CUgraphDependencyType_enum> for GraphDependencyType
Source§fn from(value: CUgraphDependencyType) -> Self
fn from(value: CUgraphDependencyType) -> Self
Converts to this type from the input type.
Source§impl From<GraphDependencyType> for u8
impl From<GraphDependencyType> for u8
Source§fn from(enum_value: GraphDependencyType) -> Self
fn from(enum_value: GraphDependencyType) -> Self
Converts to this type from the input type.
Source§impl From<GraphDependencyType> for CUgraphDependencyType
impl From<GraphDependencyType> for CUgraphDependencyType
Source§fn from(value: GraphDependencyType) -> Self
fn from(value: GraphDependencyType) -> Self
Converts to this type from the input type.
Source§impl Hash for GraphDependencyType
impl Hash for GraphDependencyType
Source§impl PartialEq for GraphDependencyType
impl PartialEq for GraphDependencyType
Source§fn eq(&self, other: &GraphDependencyType) -> bool
fn eq(&self, other: &GraphDependencyType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for GraphDependencyType
Source§impl TryFrom<u8> for GraphDependencyType
impl TryFrom<u8> for GraphDependencyType
Source§type Error = TryFromPrimitiveError<GraphDependencyType>
type Error = TryFromPrimitiveError<GraphDependencyType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for GraphDependencyType
impl TryFromPrimitive for GraphDependencyType
const NAME: &'static str = "GraphDependencyType"
type Primitive = u8
type Error = TryFromPrimitiveError<GraphDependencyType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations§
impl Freeze for GraphDependencyType
impl RefUnwindSafe for GraphDependencyType
impl Send for GraphDependencyType
impl Sync for GraphDependencyType
impl Unpin for GraphDependencyType
impl UnsafeUnpin for GraphDependencyType
impl UnwindSafe for GraphDependencyType
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