Struct dfir_lang::graph::GraphSubgraphId
source · pub struct GraphSubgraphId(/* private fields */);
Expand description
ID to identify a subgraph in DfirGraph
.
Trait Implementations§
source§impl Clone for GraphSubgraphId
impl Clone for GraphSubgraphId
source§fn clone(&self) -> GraphSubgraphId
fn clone(&self) -> GraphSubgraphId
Returns a copy of the value. Read more
1.0.0 · 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 GraphSubgraphId
impl Debug for GraphSubgraphId
source§impl Default for GraphSubgraphId
impl Default for GraphSubgraphId
source§fn default() -> GraphSubgraphId
fn default() -> GraphSubgraphId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GraphSubgraphId
impl<'de> Deserialize<'de> for GraphSubgraphId
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 From<KeyData> for GraphSubgraphId
impl From<KeyData> for GraphSubgraphId
source§impl Hash for GraphSubgraphId
impl Hash for GraphSubgraphId
source§impl Key for GraphSubgraphId
impl Key for GraphSubgraphId
source§fn null() -> Self
fn null() -> Self
Creates a new key that is always invalid and distinct from any non-null
key. A null key can only be created through this method (or default
initialization of keys made with
new_key_type!
, which calls this
method). Read moresource§impl Ord for GraphSubgraphId
impl Ord for GraphSubgraphId
source§fn cmp(&self, other: &GraphSubgraphId) -> Ordering
fn cmp(&self, other: &GraphSubgraphId) -> Ordering
1.21.0 · 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 GraphSubgraphId
impl PartialEq for GraphSubgraphId
source§impl PartialOrd for GraphSubgraphId
impl PartialOrd for GraphSubgraphId
source§impl Serialize for GraphSubgraphId
impl Serialize for GraphSubgraphId
impl Copy for GraphSubgraphId
impl Eq for GraphSubgraphId
impl StructuralPartialEq for GraphSubgraphId
Auto Trait Implementations§
impl Freeze for GraphSubgraphId
impl RefUnwindSafe for GraphSubgraphId
impl Send for GraphSubgraphId
impl Sync for GraphSubgraphId
impl Unpin for GraphSubgraphId
impl UnwindSafe for GraphSubgraphId
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more