pub struct AutoreleasePoolScope { /* private fields */ }Expand description
RAII wrapper for autorelease pool scopes.
This provides a more Rust-idiomatic way to use autorelease pools.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AutoreleasePoolScope
impl RefUnwindSafe for AutoreleasePoolScope
impl Send for AutoreleasePoolScope
impl Sync for AutoreleasePoolScope
impl Unpin for AutoreleasePoolScope
impl UnwindSafe for AutoreleasePoolScope
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