pub struct LedaGraph {
pub graph: Graph,
pub labels: Option<Vec<String>>,
pub weights: Option<Vec<f64>>,
}Expand description
Result of reading a LEDA file.
Fields§
§graph: GraphThe parsed graph.
labels: Option<Vec<String>>Vertex labels (if the vertex attribute type is string).
weights: Option<Vec<f64>>Edge weights (if the edge attribute type is double).
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for LedaGraph
impl !RefUnwindSafe for LedaGraph
impl Send for LedaGraph
impl !Sync for LedaGraph
impl Unpin for LedaGraph
impl UnsafeUnpin for LedaGraph
impl UnwindSafe for LedaGraph
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