pub struct DiceStickersSlotMachine { /* private fields */ }
Expand description
Animated stickers to be combined into a slot machine
Implementations§
Source§impl DiceStickersSlotMachine
impl DiceStickersSlotMachine
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> DiceStickersSlotMachineBuilder
pub fn background(&self) -> &Sticker
pub fn lever(&self) -> &Sticker
pub fn left_reel(&self) -> &Sticker
pub fn center_reel(&self) -> &Sticker
pub fn right_reel(&self) -> &Sticker
Trait Implementations§
Source§impl AsRef<DiceStickersSlotMachine> for DiceStickersSlotMachine
impl AsRef<DiceStickersSlotMachine> for DiceStickersSlotMachine
Source§fn as_ref(&self) -> &DiceStickersSlotMachine
fn as_ref(&self) -> &DiceStickersSlotMachine
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for DiceStickersSlotMachine
impl Clone for DiceStickersSlotMachine
Source§fn clone(&self) -> DiceStickersSlotMachine
fn clone(&self) -> DiceStickersSlotMachine
Returns a copy 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 Default for DiceStickersSlotMachine
impl Default for DiceStickersSlotMachine
Source§fn default() -> DiceStickersSlotMachine
fn default() -> DiceStickersSlotMachine
Returns the “default value” for a type. Read more
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 Serialize for DiceStickersSlotMachine
impl Serialize for DiceStickersSlotMachine
impl TDDiceStickers 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