pub enum ContentTransition {
Identity,
Opacity,
Interpolate,
}Expand description
How a view’s content changes when its value does.
Variants§
Trait Implementations§
Source§impl Clone for ContentTransition
impl Clone for ContentTransition
impl Copy for ContentTransition
Source§impl Debug for ContentTransition
impl Debug for ContentTransition
impl Eq for ContentTransition
Source§impl From<Identity> for ContentTransition
impl From<Identity> for ContentTransition
Source§impl From<Interpolate> for ContentTransition
impl From<Interpolate> for ContentTransition
Source§fn from(_: Interpolate) -> Self
fn from(_: Interpolate) -> Self
Converts to this type from the input type.
Source§impl From<Opacity> for ContentTransition
impl From<Opacity> for ContentTransition
Source§impl PartialEq for ContentTransition
impl PartialEq for ContentTransition
impl StructuralPartialEq for ContentTransition
Auto Trait Implementations§
impl Freeze for ContentTransition
impl RefUnwindSafe for ContentTransition
impl Send for ContentTransition
impl Sync for ContentTransition
impl Unpin for ContentTransition
impl UnsafeUnpin for ContentTransition
impl UnwindSafe for ContentTransition
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