Trait webrender::intern::Internable

source ·
pub trait Internable: MallocSizeOf {
    type Key: Eq + Hash + Clone + Debug + MallocSizeOf + InternDebug + InternSerialize + for<'a> InternDeserialize<'a>;
    type StoreData: From<Self::Key> + MallocSizeOf + InternSerialize + for<'a> InternDeserialize<'a>;
    type InternData: MallocSizeOf + InternSerialize + for<'a> InternDeserialize<'a>;

    const PROFILE_COUNTER: usize;
}
Expand description

Implement Internable for a type that wants to participate in interning.

Required Associated Types§

Required Associated Constants§

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Internable for PrimitiveKeyKind

Implementors§

source§

impl Internable for ClipIntern

source§

impl Internable for PolygonIntern

source§

impl Internable for FilterDataIntern

source§

impl Internable for BoxShadow

source§

impl Internable for BackdropCapture

source§

impl Internable for BackdropRender

source§

impl Internable for ImageBorder

source§

impl Internable for NormalBorderPrim

source§

impl Internable for ConicGradient

source§

impl Internable for LinearGradient

source§

impl Internable for RadialGradient

source§

impl Internable for Image

source§

impl Internable for YuvImage

source§

impl Internable for LineDecoration

source§

impl Internable for Picture

source§

impl Internable for TextRun