pub enum DisplayData {
CoordDisplay,
TwodDisplay(Vec<(usize, f64, f64)>),
}
Expand description
How a graphical display of the nodes can be obtained.
Variants§
CoordDisplay
Display is generated from the node coordinates.
TwodDisplay(Vec<(usize, f64, f64)>)
Explicit coordinates in 2-D. The first element of each tuple is the node number, the second and third elements are the x and y coordinates.
Trait Implementations§
Source§impl Clone for DisplayData
impl Clone for DisplayData
Source§fn clone(&self) -> DisplayData
fn clone(&self) -> DisplayData
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for DisplayData
impl RefUnwindSafe for DisplayData
impl Send for DisplayData
impl Sync for DisplayData
impl Unpin for DisplayData
impl UnwindSafe for DisplayData
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