CacheableSticker

Trait CacheableSticker 

Source
pub trait CacheableSticker:
    From<Sticker>
    + PartialEq<Sticker>
    + PartialEq<Self>
    + Clone
    + Debug {
    // Required method
    fn id(&self) -> Id<StickerMarker>;
}
Expand description

Trait for a generic cached representation of a Sticker.

Required Methods§

Source

fn id(&self) -> Id<StickerMarker>

ID of the sticker.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§