Type Alias re_renderer::view_builder::SharedViewBuilder

source ·
pub type SharedViewBuilder = Arc<RwLock<Option<ViewBuilder>>>;
Expand description

ViewBuilder that can be shared between threads.

Innermost field is an Option, so it can be consumed for composite.

Aliased Type§

struct SharedViewBuilder {
    ptr: NonNull<ArcInner<RwLock<RawRwLock, Option<ViewBuilder>>>>,
    phantom: PhantomData<ArcInner<RwLock<RawRwLock, Option<ViewBuilder>>>>,
    alloc: Global,
}

Fields§

§ptr: NonNull<ArcInner<RwLock<RawRwLock, Option<ViewBuilder>>>>§phantom: PhantomData<ArcInner<RwLock<RawRwLock, Option<ViewBuilder>>>>§alloc: Global