pub struct GenerateSettings {
pub max_nodes: usize,
pub max_edges: usize,
}
Expand description
Stores settings for generating graph.
Fields§
§max_nodes: usize
The maximum number of nodes before terminating.
max_edges: usize
The maximum number of edges before terminating.
Trait Implementations§
Source§impl Clone for GenerateSettings
impl Clone for GenerateSettings
Source§fn clone(&self) -> GenerateSettings
fn clone(&self) -> GenerateSettings
Returns a copy 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 moreSource§impl Debug for GenerateSettings
impl Debug for GenerateSettings
Source§impl PartialEq for GenerateSettings
impl PartialEq for GenerateSettings
impl Eq for GenerateSettings
impl StructuralPartialEq for GenerateSettings
Auto Trait Implementations§
impl Freeze for GenerateSettings
impl RefUnwindSafe for GenerateSettings
impl Send for GenerateSettings
impl Sync for GenerateSettings
impl Unpin for GenerateSettings
impl UnwindSafe for GenerateSettings
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