pub struct DiceStickersSlotMachine {
pub background: Sticker,
pub lever: Sticker,
pub left_reel: Sticker,
pub center_reel: Sticker,
pub right_reel: Sticker,
}
Expand description
Animated stickers to be combined into a slot machine
Fields§
§background: Sticker
The animated sticker with the slot machine background. The background animation must start playing after all reel animations finish
lever: Sticker
The animated sticker with the lever animation. The lever animation must play once in the initial dice state
left_reel: Sticker
The animated sticker with the left reel
center_reel: Sticker
The animated sticker with the center reel
right_reel: Sticker
The animated sticker with the right reel
Trait Implementations§
Source§impl Clone for DiceStickersSlotMachine
impl Clone for DiceStickersSlotMachine
Source§fn clone(&self) -> DiceStickersSlotMachine
fn clone(&self) -> DiceStickersSlotMachine
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for DiceStickersSlotMachine
impl Debug for DiceStickersSlotMachine
Source§impl<'de> Deserialize<'de> for DiceStickersSlotMachine
impl<'de> Deserialize<'de> for DiceStickersSlotMachine
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
Source§impl PartialEq for DiceStickersSlotMachine
impl PartialEq for DiceStickersSlotMachine
Source§impl Serialize for DiceStickersSlotMachine
impl Serialize for DiceStickersSlotMachine
impl StructuralPartialEq for DiceStickersSlotMachine
Auto Trait Implementations§
impl Freeze for DiceStickersSlotMachine
impl RefUnwindSafe for DiceStickersSlotMachine
impl Send for DiceStickersSlotMachine
impl Sync for DiceStickersSlotMachine
impl Unpin for DiceStickersSlotMachine
impl UnwindSafe for DiceStickersSlotMachine
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