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

source§

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

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

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

This method 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