pub struct ModelBuilder { /* private fields */ }
Expand description
Builder for Model
.
Implementations§
Source§impl ModelBuilder
impl ModelBuilder
Sourcepub fn new(variable_profile_table: &VariableProfileTable) -> Result<Self, Error>
pub fn new(variable_profile_table: &VariableProfileTable) -> Result<Self, Error>
Create a builder using a VariableProfileTable
.
let model_builder = ModelBuilder::new(&vpt)?;
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelBuilder
impl RefUnwindSafe for ModelBuilder
impl !Send for ModelBuilder
impl !Sync for ModelBuilder
impl Unpin for ModelBuilder
impl UnwindSafe for ModelBuilder
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