[][src]Struct dynamic_graph::GenericGraph

pub struct GenericGraph<Root, NodeType> { /* fields omitted */ }

Methods

impl<Root: Default, NodeType> GenericGraph<Root, NodeType>[src]

pub fn new() -> Self[src]

impl<Root, NodeType> GenericGraph<Root, NodeType>[src]

pub unsafe fn anchor_mut<'id>(
    &mut self,
    guard: Id<'id>,
    strategy: CleanupStrategy
) -> AnchorMut<'_, 'id, GenericGraph<Root, NodeType>>
[src]

Creates an AnchorMut from a generativity brand using selected cleanup strategy. Prefer make_anchor_mut macro in application code.

Safety

Caller must use a unique guard from generativity::Guard.

Trait Implementations

impl<Root: Default, NodeType> Default for GenericGraph<Root, NodeType>[src]

Auto Trait Implementations

impl<Root, NodeType> RefUnwindSafe for GenericGraph<Root, NodeType> where
    NodeType: RefUnwindSafe,
    Root: RefUnwindSafe

impl<Root, NodeType> Send for GenericGraph<Root, NodeType> where
    NodeType: Send,
    Root: Send

impl<Root, NodeType> Sync for GenericGraph<Root, NodeType> where
    NodeType: Sync,
    Root: Sync

impl<Root, NodeType> Unpin for GenericGraph<Root, NodeType> where
    Root: Unpin

impl<Root, NodeType> UnwindSafe for GenericGraph<Root, NodeType> where
    NodeType: UnwindSafe,
    Root: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.