Type Alias webrender::prim_store::borders::ImageBorderTemplate
source · pub type ImageBorderTemplate = PrimTemplate<ImageBorderData>;
Aliased Type§
struct ImageBorderTemplate {
pub common: PrimTemplateCommonData,
pub kind: ImageBorderData,
}
Fields§
§common: PrimTemplateCommonData
§kind: ImageBorderData
Trait Implementations§
source§impl From<PrimKey<ImageBorder>> for PrimTemplate<ImageBorderData>
impl From<PrimKey<ImageBorder>> for PrimTemplate<ImageBorderData>
source§fn from(key: PrimKey<ImageBorder>) -> Self
fn from(key: PrimKey<ImageBorder>) -> Self
Converts to this type from the input type.
source§impl<T> MallocSizeOf for PrimTemplate<T>where
T: MallocSizeOf,
impl<T> MallocSizeOf for PrimTemplate<T>where T: MallocSizeOf,
source§fn size_of(&self, ops: &mut MallocSizeOfOps) -> usize
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.