pub struct DlGraph {
pub graph: Graph,
pub labels: Option<Vec<String>>,
pub weights: Option<Vec<f64>>,
}Expand description
Result of reading a DL file.
Fields§
§graph: GraphThe parsed graph.
labels: Option<Vec<String>>Vertex labels (if provided).
weights: Option<Vec<f64>>Edge weights (if provided, only for edgelist1 format).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for DlGraph
impl !RefUnwindSafe for DlGraph
impl Send for DlGraph
impl !Sync for DlGraph
impl Unpin for DlGraph
impl UnsafeUnpin for DlGraph
impl UnwindSafe for DlGraph
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