Type Alias webrender::SharedShaders

source ·
pub type SharedShaders = Rc<RefCell<Shaders>>;

Aliased Type§

struct SharedShaders {
    ptr: NonNull<RcBox<RefCell<Shaders>>>,
    phantom: PhantomData<RcBox<RefCell<Shaders>>>,
    alloc: Global,
}

Fields§

§ptr: NonNull<RcBox<RefCell<Shaders>>>§phantom: PhantomData<RcBox<RefCell<Shaders>>>§alloc: Global

Trait Implementations§

1.0.0 · source§

impl<T, A> Deref for Rc<T, A>where A: Allocator, T: ?Sized,

§

type Target = T

The resulting type after dereferencing.
source§

fn deref(&self) -> &T

Dereferences the value.