pub enum ShowHideAnimation {
Appear,
FadeInTop,
FadeInBottom,
FadeInLeft,
FadeInRight,
}
Variants§
Implementations§
Source§impl ShowHideAnimation
impl ShowHideAnimation
Sourcepub const fn is_appear(&self) -> bool
pub const fn is_appear(&self) -> bool
Returns true if the enum is ShowHideAnimation::Appear otherwise false
Sourcepub const fn is_fade_in_top(&self) -> bool
pub const fn is_fade_in_top(&self) -> bool
Returns true if the enum is ShowHideAnimation::FadeInTop otherwise false
Sourcepub const fn is_fade_in_bottom(&self) -> bool
pub const fn is_fade_in_bottom(&self) -> bool
Returns true if the enum is ShowHideAnimation::FadeInBottom otherwise false
Sourcepub const fn is_fade_in_left(&self) -> bool
pub const fn is_fade_in_left(&self) -> bool
Returns true if the enum is ShowHideAnimation::FadeInLeft otherwise false
Sourcepub const fn is_fade_in_right(&self) -> bool
pub const fn is_fade_in_right(&self) -> bool
Returns true if the enum is ShowHideAnimation::FadeInRight otherwise false
Trait Implementations§
Source§impl Clone for ShowHideAnimation
impl Clone for ShowHideAnimation
Source§fn clone(&self) -> ShowHideAnimation
fn clone(&self) -> ShowHideAnimation
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 ShowHideAnimation
impl Debug for ShowHideAnimation
Source§impl Default for ShowHideAnimation
impl Default for ShowHideAnimation
Source§fn default() -> ShowHideAnimation
fn default() -> ShowHideAnimation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ShowHideAnimation
impl<'de> Deserialize<'de> for ShowHideAnimation
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 Display for ShowHideAnimation
impl Display for ShowHideAnimation
Source§impl IntoEnumIterator for ShowHideAnimation
impl IntoEnumIterator for ShowHideAnimation
type Iterator = ShowHideAnimationIter
fn iter() -> ShowHideAnimationIter ⓘ
Source§impl PartialEq for ShowHideAnimation
impl PartialEq for ShowHideAnimation
Source§impl Serialize for ShowHideAnimation
impl Serialize for ShowHideAnimation
impl Copy for ShowHideAnimation
impl StructuralPartialEq for ShowHideAnimation
Auto Trait Implementations§
impl Freeze for ShowHideAnimation
impl RefUnwindSafe for ShowHideAnimation
impl Send for ShowHideAnimation
impl Sync for ShowHideAnimation
impl Unpin for ShowHideAnimation
impl UnwindSafe for ShowHideAnimation
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