Struct deno_unsync::Flag
source · pub struct Flag(/* private fields */);
Expand description
A flag with interior mutability that can be raised or lowered. Useful for indicating if an event has occurred.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Flag
impl Send for Flag
impl !Sync for Flag
impl Unpin for Flag
impl UnwindSafe for Flag
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