Struct gfx_backend_gl::Starc [−][src]
pub struct Starc<T: ?Sized> { /* fields omitted */ }
Expand description
Single-threaded Arc
.
Wrapper for Arc
that allows you to Send
it even if T: !Sync
.
Yet internal data cannot be accessed outside of the thread where it was created.
Implementations
Trait Implementations
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Starc<T> where
T: RefUnwindSafe,
impl<T: ?Sized> UnwindSafe for Starc<T> where
T: RefUnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more