pub struct DefaultPark { /* private fields */ }
Expand description
Parks the thread.
Implementations§
Source§impl DefaultPark
impl DefaultPark
Sourcepub fn new() -> DefaultPark
pub fn new() -> DefaultPark
Creates a new DefaultPark
instance.
Trait Implementations§
Source§impl Debug for DefaultPark
impl Debug for DefaultPark
Auto Trait Implementations§
impl Freeze for DefaultPark
impl RefUnwindSafe for DefaultPark
impl Send for DefaultPark
impl !Sync for DefaultPark
impl Unpin for DefaultPark
impl UnwindSafe for DefaultPark
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