pub struct Graph {
pub lines: Vec<AliveVertex>,
pub children: Vec<(Option<SerializedEdge>, VertexId)>,
/* private fields */
}Fields§
§lines: Vec<AliveVertex>§children: Vec<(Option<SerializedEdge>, VertexId)>Implementations§
Source§impl Graph
impl Graph
Sourcepub fn debug<W: Write, T: GraphTxnT, P: ChangeStore>(
&self,
changes: &P,
txn: &T,
channel: &T::Graph,
add_others: bool,
introduced_by: bool,
w: W,
) -> Result<(), Error>
pub fn debug<W: Write, T: GraphTxnT, P: ChangeStore>( &self, changes: &P, txn: &T, channel: &T::Graph, add_others: bool, introduced_by: bool, w: W, ) -> Result<(), Error>
Write a graph to an std::io::Write in GraphViz (dot) format.
pub fn debug_raw<W: Write>(&self, w: W) -> Result<(), Error>
Source§impl Graph
impl Graph
pub fn push_child_to_last(&mut self, e: Option<SerializedEdge>, j: VertexId)
pub fn children( &self, i: VertexId, ) -> impl Iterator<Item = &(Option<SerializedEdge>, VertexId)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Graph
impl RefUnwindSafe for Graph
impl Send for Graph
impl Sync for Graph
impl Unpin for Graph
impl UnsafeUnpin for Graph
impl UnwindSafe for Graph
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