Struct gfx_backend_gl::Starc [−][src]
pub struct Starc<T: ?Sized> { /* fields omitted */ }
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
impl<T> Starc<T>
[src]
impl<T> Starc<T>
[src]pub fn try_unwrap(self) -> Result<T, Self>
[src]
Trait Implementations
impl<T: ?Sized> Clone for Starc<T>
[src]
impl<T: ?Sized> Clone for Starc<T>
[src]fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl<T: ?Sized> RefUnwindSafe for Starc<T> where
T: RefUnwindSafe,
impl<T: ?Sized> RefUnwindSafe for Starc<T> where
T: RefUnwindSafe,
impl<T: ?Sized> UnwindSafe for Starc<T> where
T: RefUnwindSafe,
impl<T: ?Sized> UnwindSafe for Starc<T> where
T: RefUnwindSafe,