webrender::prim_store::backdrop

Type Alias BackdropRenderTemplate

Source
pub type BackdropRenderTemplate = PrimTemplate<BackdropRenderData>;

Aliased Type§

struct BackdropRenderTemplate {
    pub common: PrimTemplateCommonData,
    pub kind: BackdropRenderData,
}

Fields§

§common: PrimTemplateCommonData§kind: BackdropRenderData

Trait Implementations

Source§

impl From<PrimKey<BackdropRender>> for PrimTemplate<BackdropRenderData>

Source§

fn from(backdrop: PrimKey<BackdropRender>) -> Self

Converts to this type from the input type.
Source§

impl<T> MallocSizeOf for PrimTemplate<T>
where T: 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<T> Serialize for PrimTemplate<T>
where T: Serialize,

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