pub struct GraphLayout {
pub algorithm: String,
pub parameters: HashMap<String, String>,
pub bounds: Option<LayoutBounds>,
}Expand description
Layout information for graph visualization.
Fields§
§algorithm: StringSuggested layout algorithm
parameters: HashMap<String, String>§bounds: Option<LayoutBounds>Viewport bounds for the graph
Trait Implementations§
Source§impl Clone for GraphLayout
impl Clone for GraphLayout
Source§fn clone(&self) -> GraphLayout
fn clone(&self) -> GraphLayout
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 GraphLayout
impl RefUnwindSafe for GraphLayout
impl Send for GraphLayout
impl Sync for GraphLayout
impl Unpin for GraphLayout
impl UnwindSafe for GraphLayout
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