pub struct DirectedHypergraphImpl { /* private fields */ }
Implementations§
Source§impl DirectedHypergraphImpl
impl DirectedHypergraphImpl
pub fn new() -> Self
pub fn add_node(&mut self, node: Node)
pub fn add_hyperedge(&mut self, edge: DirectedHyperedgeImpl)
Trait Implementations§
Source§impl Clone for DirectedHypergraphImpl
impl Clone for DirectedHypergraphImpl
Source§fn clone(&self) -> DirectedHypergraphImpl
fn clone(&self) -> DirectedHypergraphImpl
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> Deserialize<'de> for DirectedHypergraphImpl
impl<'de> Deserialize<'de> for DirectedHypergraphImpl
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 Hash for DirectedHypergraphImpl
impl Hash for DirectedHypergraphImpl
Source§impl PartialEq for DirectedHypergraphImpl
impl PartialEq for DirectedHypergraphImpl
Source§impl Serialize for DirectedHypergraphImpl
impl Serialize for DirectedHypergraphImpl
impl Eq for DirectedHypergraphImpl
impl StructuralPartialEq for DirectedHypergraphImpl
Auto Trait Implementations§
impl Freeze for DirectedHypergraphImpl
impl RefUnwindSafe for DirectedHypergraphImpl
impl Send for DirectedHypergraphImpl
impl Sync for DirectedHypergraphImpl
impl Unpin for DirectedHypergraphImpl
impl UnwindSafe for DirectedHypergraphImpl
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