pub enum StickerHidden {
OnClick(ShowHideAnimation),
UntilClick(ShowHideAnimation),
}
Variants§
OnClick(ShowHideAnimation)
UntilClick(ShowHideAnimation)
Implementations§
Source§impl StickerHidden
impl StickerHidden
Sourcepub const fn is_on_click(&self) -> bool
pub const fn is_on_click(&self) -> bool
Returns true if the enum is StickerHidden::OnClick otherwise false
Sourcepub const fn is_until_click(&self) -> bool
pub const fn is_until_click(&self) -> bool
Returns true if the enum is StickerHidden::UntilClick otherwise false
Trait Implementations§
Source§impl Clone for StickerHidden
impl Clone for StickerHidden
Source§fn clone(&self) -> StickerHidden
fn clone(&self) -> StickerHidden
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 StickerHidden
impl Debug for StickerHidden
Source§impl<'de> Deserialize<'de> for StickerHidden
impl<'de> Deserialize<'de> for StickerHidden
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 StickerHidden
impl PartialEq for StickerHidden
Source§impl Serialize for StickerHidden
impl Serialize for StickerHidden
impl Copy for StickerHidden
impl StructuralPartialEq for StickerHidden
Auto Trait Implementations§
impl Freeze for StickerHidden
impl RefUnwindSafe for StickerHidden
impl Send for StickerHidden
impl Sync for StickerHidden
impl Unpin for StickerHidden
impl UnwindSafe for StickerHidden
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