pub struct StateArgs { /* private fields */ }
Implementations§
source§impl StateArgs
impl StateArgs
sourcepub fn reset_memory(&mut self, value: bool) -> &mut Self
pub fn reset_memory(&mut self, value: bool) -> &mut Self
Decides whether the memory of the instance will be reset.
If the memory is already reset this does nothing.
Default: false
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StateArgs
impl RefUnwindSafe for StateArgs
impl Send for StateArgs
impl Sync for StateArgs
impl Unpin for StateArgs
impl UnwindSafe for StateArgs
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