Enum paralegal_spdg::EdgeKind
source · pub enum EdgeKind {
Data,
Control,
}
Expand description
The type of an edge
Variants§
Data
The target can read data created by the source
Control
The source controls the execution of the target
Implementations§
source§impl EdgeKind
impl EdgeKind
sourcepub const fn is_control(&self) -> bool
pub const fn is_control(&self) -> bool
Returns true if the enum is EdgeKind::Control otherwise false
Trait Implementations§
source§impl<'de> Deserialize<'de> for EdgeKind
impl<'de> Deserialize<'de> for EdgeKind
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 PartialEq<EdgeKind> for EdgeKind
impl PartialEq<EdgeKind> for EdgeKind
impl Copy for EdgeKind
impl Eq for EdgeKind
impl StructuralEq for EdgeKind
impl StructuralPartialEq for EdgeKind
Auto Trait Implementations§
impl RefUnwindSafe for EdgeKind
impl Send for EdgeKind
impl Sync for EdgeKind
impl Unpin for EdgeKind
impl UnwindSafe for EdgeKind
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.