pub struct Production<I: Index, NL: Label, EL: Label> { /* private fields */ }
Expand description
A double-pushout production (DPO). For a description of the theory behind
it please refer to the crates README.md
.
It is a rule how to transform a specific part of an Graph
into another and
the core of a GraphGrammar
.
Implementations§
Source§impl<I: Index, NL: Label, EL: Label> Production<I, NL, EL>
impl<I: Index, NL: Label, EL: Label> Production<I, NL, EL>
Trait Implementations§
Source§impl<I: Clone + Index, NL: Clone + Label, EL: Clone + Label> Clone for Production<I, NL, EL>
impl<I: Clone + Index, NL: Clone + Label, EL: Clone + Label> Clone for Production<I, NL, EL>
Source§fn clone(&self) -> Production<I, NL, EL>
fn clone(&self) -> Production<I, NL, EL>
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<'de, I, NL, EL> Deserialize<'de> for Production<I, NL, EL>
impl<'de, I, NL, EL> Deserialize<'de> for Production<I, NL, EL>
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<I: Index> From<Production<I, &str, ()>> for Production<I, String, ()>
impl<I: Index> From<Production<I, &str, ()>> for Production<I, String, ()>
Source§impl<I: PartialEq + Index, NL: PartialEq + Label, EL: PartialEq + Label> PartialEq for Production<I, NL, EL>
impl<I: PartialEq + Index, NL: PartialEq + Label, EL: PartialEq + Label> PartialEq for Production<I, NL, EL>
Source§impl<I, NL, EL> Serialize for Production<I, NL, EL>
impl<I, NL, EL> Serialize for Production<I, NL, EL>
impl<I: Index, NL: Label, EL: Label> StructuralPartialEq for Production<I, NL, EL>
Auto Trait Implementations§
impl<I, NL, EL> Freeze for Production<I, NL, EL>
impl<I, NL, EL> RefUnwindSafe for Production<I, NL, EL>
impl<I, NL, EL> Send for Production<I, NL, EL>
impl<I, NL, EL> Sync for Production<I, NL, EL>
impl<I, NL, EL> Unpin for Production<I, NL, EL>
impl<I, NL, EL> UnwindSafe for Production<I, NL, EL>
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