Type Alias webrender::clip::ClipDataStore

source ·
pub type ClipDataStore = DataStore<ClipIntern>;

Aliased Type§

struct ClipDataStore {
    items: Vec<Option<ClipNode>, Global>,
}

Fields§

§items: Vec<Option<ClipNode>, Global>

Implementations§

source§

impl<I: Internable> DataStore<I>

source

pub fn apply_updates( &mut self, update_list: UpdateList<I::Key>, profile: &mut TransactionProfile )

Apply any updates from the scene builder thread to this data store.

Trait Implementations§

source§

impl<I: Internable> Default for DataStore<I>

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl<I: Internable> Index<Handle<I>> for DataStore<I>

Retrieve an item from the store via handle

§

type Output = <I as Internable>::StoreData

The returned type after indexing.
source§

fn index(&self, handle: Handle<I>) -> &I::StoreData

Performs the indexing (container[index]) operation. Read more
source§

impl<I: Internable> IndexMut<Handle<I>> for DataStore<I>

Retrieve a mutable item from the store via handle Retrieve an item from the store via handle

source§

fn index_mut(&mut self, handle: Handle<I>) -> &mut I::StoreData

Performs the mutable indexing (container[index]) operation. Read more
source§

impl<I> MallocSizeOf for DataStore<I>where I: MallocSizeOf + Internable,

source§

fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself.
source§

impl<I: Internable> Serialize for DataStore<I>

source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>where __S: Serializer,

Serialize this value into the given Serde serializer. Read more