pub enum AnimationProperty {
Opacity {
from: u8,
to: u8,
},
PositionX {
from: i32,
to: i32,
},
PositionY {
from: i32,
to: i32,
},
Width {
from: u32,
to: u32,
},
Height {
from: u32,
to: u32,
},
Scale {
from_256: u32,
to_256: u32,
},
}Expand description
Animation target property
Variants§
Trait Implementations§
Source§impl Clone for AnimationProperty
impl Clone for AnimationProperty
Source§fn clone(&self) -> AnimationProperty
fn clone(&self) -> AnimationProperty
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AnimationProperty
impl Debug for AnimationProperty
impl Copy for AnimationProperty
Auto Trait Implementations§
impl Freeze for AnimationProperty
impl RefUnwindSafe for AnimationProperty
impl Send for AnimationProperty
impl Sync for AnimationProperty
impl Unpin for AnimationProperty
impl UnwindSafe for AnimationProperty
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)