pub struct Config { /* private fields */ }
Expand description
The configuration required by a Graph
or GraphWithControls
Create an instance using a ConfigBuilder
:
use rt_graph::{Config, ConfigBuilder, TestDataGenerator};
let config: Config =
ConfigBuilder::default()
// Chain ConfigBuilder methods here
.data_source(TestDataGenerator::new())
.build()
.unwrap();
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Config
impl !RefUnwindSafe for Config
impl Send for Config
impl !Sync for Config
impl Unpin for Config
impl !UnwindSafe for Config
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