pub struct Graph<M>(/* private fields */);Implementations§
Trait Implementations§
Source§impl<F: ?Sized, C: ?Sized, M: Formatter<F>> SnapshotEGraph<F, C> for Graph<M>
impl<F: ?Sized, C: ?Sized, M: Formatter<F>> SnapshotEGraph<F, C> for Graph<M>
type ClassId = Cow<'static, str>
type EquivClass<'a> = EquivClass<'a, M> where M: 'a
type NodeId = Cow<'static, str>
type UnionFind<'a> = UnionFind<'a, M> where M: 'a
fn union_find(&mut self, name: &'static str) -> Self::UnionFind<'_>
fn equiv_class(&mut self, root: ClassId<C>) -> Self::EquivClass<'_>
fn edge( &mut self, node: &Self::NodeId, class: &Self::ClassId, op: &F, arg_idx: usize, )
fn parent_edge( &mut self, class: &Self::ClassId, parent: &Self::NodeId, parent_class: Option<&Self::ClassId>, label: Option<&str>, )
Auto Trait Implementations§
impl<M> Freeze for Graph<M>where
M: Freeze,
impl<M> RefUnwindSafe for Graph<M>where
M: RefUnwindSafe,
impl<M> Send for Graph<M>where
M: Send,
impl<M> Sync for Graph<M>where
M: Sync,
impl<M> Unpin for Graph<M>where
M: Unpin,
impl<M> UnsafeUnpin for Graph<M>where
M: UnsafeUnpin,
impl<M> UnwindSafe for Graph<M>where
M: UnwindSafe,
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