pub struct Consomme { /* private fields */ }
Expand description
A consomme instance.
Implementations§
Source§impl Consomme
impl Consomme
Sourcepub fn new(params: ConsommeParams) -> Self
pub fn new(params: ConsommeParams) -> Self
Creates a new consomme instance with specified state.
Sourcepub fn params_mut(&mut self) -> &mut ConsommeParams
pub fn params_mut(&mut self) -> &mut ConsommeParams
Get access to the parameters to be updated.
FUTURE: add support for updating only the parameters that can be safely changed at runtime.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Consomme
impl !RefUnwindSafe for Consomme
impl Send for Consomme
impl Sync for Consomme
impl Unpin for Consomme
impl !UnwindSafe for Consomme
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