webrender::render_task_cache

Type Alias RenderTaskCacheEntryHandle

Source
pub type RenderTaskCacheEntryHandle = WeakFreeListHandle<RenderTaskCacheMarker>;

Aliased Type§

struct RenderTaskCacheEntryHandle {
    index: u32,
    epoch: Epoch,
    _marker: PhantomData<RenderTaskCacheMarker>,
}

Fields§

§index: u32§epoch: Epoch§_marker: PhantomData<RenderTaskCacheMarker>

Implementations

Source§

impl<M> WeakFreeListHandle<M>

Source

pub fn invalid() -> Self

Returns an always-invalid handle.

Trait Implementations

Source§

impl<M> Clone for WeakFreeListHandle<M>

Source§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<M> Debug for WeakFreeListHandle<M>

More-compact textual representation for debug logging.

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<M> MallocSizeOf for WeakFreeListHandle<M>
where M: MallocSizeOf,

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<M> PartialEq for WeakFreeListHandle<M>

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl<M> Serialize for WeakFreeListHandle<M>

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