pub struct RuntimeSleepOptions {
pub cancellation: CancellationToken,
pub observe_turn_cancel: bool,
}Expand description
Host controls attached to one sleep effect.
Fields§
§cancellation: CancellationToken§observe_turn_cancel: boolAuto Trait Implementations§
impl Freeze for RuntimeSleepOptions
impl RefUnwindSafe for RuntimeSleepOptions
impl Send for RuntimeSleepOptions
impl Sync for RuntimeSleepOptions
impl Unpin for RuntimeSleepOptions
impl UnsafeUnpin for RuntimeSleepOptions
impl UnwindSafe for RuntimeSleepOptions
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