pub enum DiceStickers {
Regular(Box<DiceStickersRegular>),
SlotMachine(Box<DiceStickersSlotMachine>),
// some variants omitted
}
Expand description
Contains animated stickers which must be used for dice animation rendering
Variants§
Regular(Box<DiceStickersRegular>)
A regular animated sticker
SlotMachine(Box<DiceStickersSlotMachine>)
Animated stickers to be combined into a slot machine
Implementations§
Trait Implementations§
Source§impl AsRef<DiceStickers> for DiceStickers
impl AsRef<DiceStickers> for DiceStickers
Source§fn as_ref(&self) -> &DiceStickers
fn as_ref(&self) -> &DiceStickers
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for DiceStickers
impl Clone for DiceStickers
Source§fn clone(&self) -> DiceStickers
fn clone(&self) -> DiceStickers
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DiceStickers
impl Debug for DiceStickers
Source§impl Default for DiceStickers
impl Default for DiceStickers
Source§fn default() -> DiceStickers
fn default() -> DiceStickers
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DiceStickers
impl<'de> Deserialize<'de> for DiceStickers
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DiceStickers
impl RefUnwindSafe for DiceStickers
impl Send for DiceStickers
impl Sync for DiceStickers
impl Unpin for DiceStickers
impl UnwindSafe for DiceStickers
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more