pub struct vtkDirectedGraph(/* private fields */);Expand description
A directed graph.
vtkDirectedGraph is a collection of vertices along with a collection of directed edges (edges that have a source and target). ShallowCopy() and DeepCopy() (and CheckedShallowCopy(), CheckedDeepCopy()) accept instances of vtkTree and vtkMutableDirectedGraph.
vtkDirectedGraph is read-only. To create an undirected graph, use an instance of vtkMutableDirectedGraph, then you may set the structure to a vtkDirectedGraph using ShallowCopy().
@sa vtkGraph vtkMutableDirectedGraph
Implementations§
Source§impl vtkDirectedGraph
impl vtkDirectedGraph
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new vtkDirectedGraph wrapped inside vtkNew
Trait Implementations§
Source§impl Default for vtkDirectedGraph
impl Default for vtkDirectedGraph
Auto Trait Implementations§
impl Freeze for vtkDirectedGraph
impl RefUnwindSafe for vtkDirectedGraph
impl !Send for vtkDirectedGraph
impl !Sync for vtkDirectedGraph
impl Unpin for vtkDirectedGraph
impl UnwindSafe for vtkDirectedGraph
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