pub struct Settings {
pub iterations: usize,
pub dt: f32,
pub node_size: u32,
pub node_color: (u8, u8, u8),
pub edge_size: u32,
pub edge_color: (u8, u8, u8),
pub background_color: (u8, u8, u8),
pub print_progress: bool,
}
Expand description
Parameters for drawing the SVG image.
Fields
iterations: usize
dt: f32
node_size: u32
node_color: (u8, u8, u8)
edge_size: u32
edge_color: (u8, u8, u8)
background_color: (u8, u8, u8)
print_progress: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnwindSafe for Settings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more