Enum AnimationTarget
#[repr(i32)]pub enum AnimationTarget {
PageIn = 0,
PageOut = 1,
}Expand description
Defines target for animation.
Variants§
PageIn = 0
Animation targets to item that is transitioning in.
PageOut = 1
Animation targets to item that is transitioning out.
Implementations§
§impl AnimationTarget
impl AnimationTarget
pub fn as_str(self) -> &'static str
pub fn convert(num: i32) -> AnimationTarget
Trait Implementations§
§impl Clone for AnimationTarget
impl Clone for AnimationTarget
§fn clone(&self) -> AnimationTarget
fn clone(&self) -> AnimationTarget
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 more§impl Debug for AnimationTarget
impl Debug for AnimationTarget
§impl Display for AnimationTarget
impl Display for AnimationTarget
§impl PartialEq for AnimationTarget
impl PartialEq for AnimationTarget
§impl VariantConstraint for AnimationTarget
impl VariantConstraint for AnimationTarget
§type DataArg<'a> = AnimationTarget
type DataArg<'a> = AnimationTarget
Specifies the type of an argument that provides a value to
Variant.
Generally, this type matches Self, except for KanziString, Resource, and ResourceId. Read more§type RetArg = AnimationTarget
type RetArg = AnimationTarget
§fn as_arg(&self) -> <AnimationTarget as VariantConstraint>::DataArg<'_>
fn as_arg(&self) -> <AnimationTarget as VariantConstraint>::DataArg<'_>
impl Copy for AnimationTarget
impl Eq for AnimationTarget
impl PropertyTypeConstraint for AnimationTarget
impl StructuralPartialEq for AnimationTarget
Auto Trait Implementations§
impl Freeze for AnimationTarget
impl RefUnwindSafe for AnimationTarget
impl Send for AnimationTarget
impl Sync for AnimationTarget
impl Unpin for AnimationTarget
impl UnwindSafe for AnimationTarget
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