Struct dfir_lang::graph::GraphNodeId
source · pub struct GraphNodeId(/* private fields */);
Expand description
ID to identify a node (operator or handoff) in DfirGraph
.
Trait Implementations§
source§impl Clone for GraphNodeId
impl Clone for GraphNodeId
source§fn clone(&self) -> GraphNodeId
fn clone(&self) -> GraphNodeId
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 GraphNodeId
impl Debug for GraphNodeId
source§impl Default for GraphNodeId
impl Default for GraphNodeId
source§fn default() -> GraphNodeId
fn default() -> GraphNodeId
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GraphNodeId
impl<'de> Deserialize<'de> for GraphNodeId
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 GraphNodeId
impl From<KeyData> for GraphNodeId
source§impl Hash for GraphNodeId
impl Hash for GraphNodeId
source§impl Key for GraphNodeId
impl Key for GraphNodeId
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 GraphNodeId
impl Ord for GraphNodeId
source§fn cmp(&self, other: &GraphNodeId) -> Ordering
fn cmp(&self, other: &GraphNodeId) -> 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 GraphNodeId
impl PartialEq for GraphNodeId
source§impl PartialOrd for GraphNodeId
impl PartialOrd for GraphNodeId
source§impl Serialize for GraphNodeId
impl Serialize for GraphNodeId
impl Copy for GraphNodeId
impl Eq for GraphNodeId
impl StructuralPartialEq for GraphNodeId
Auto Trait Implementations§
impl Freeze for GraphNodeId
impl RefUnwindSafe for GraphNodeId
impl Send for GraphNodeId
impl Sync for GraphNodeId
impl Unpin for GraphNodeId
impl UnwindSafe for GraphNodeId
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