Enum cacao::listview::RowAnimation
source · [−]pub enum RowAnimation {
None,
Fade,
Gap,
SlideUp,
SlideDown,
SlideLeft,
SlideRight,
}
Expand description
This enum represents the different stock animations possible
for ListView row operations. You can pass it to insert_rows
and remove_rows
- reloads don’t get animations.
Variants
None
No animation.
Fade
Fades rows in and out.
Gap
Creates a gap - this one is mostly useful during drag and drop operations.
SlideUp
Animates in or out by sliding upwards.
SlideDown
Animates in or out by sliding down.
SlideLeft
Animates in or out by sliding left.
SlideRight
Animates in or out by sliding right.
Trait Implementations
sourceimpl Clone for RowAnimation
impl Clone for RowAnimation
sourcefn clone(&self) -> RowAnimation
fn clone(&self) -> RowAnimation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RowAnimation
impl Debug for RowAnimation
sourceimpl Into<u64> for RowAnimation
impl Into<u64> for RowAnimation
sourcefn into(self) -> NSUInteger
fn into(self) -> NSUInteger
Converts this type into the (usually inferred) input type.
impl Copy for RowAnimation
Auto Trait Implementations
impl RefUnwindSafe for RowAnimation
impl Send for RowAnimation
impl Sync for RowAnimation
impl Unpin for RowAnimation
impl UnwindSafe for RowAnimation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more