pub enum PaneMotion {
None,
AnimateBounds,
EnterFromLeft,
EnterFromRight,
EnterFromLeftDelayed,
EnterFromRightDelayed,
ExitToLeft,
ExitToRight,
EnterWithExpand,
ExitWithShrink,
}Expand description
How a pane moves when the value changes (Compose PaneMotion).
Variants§
None
It stays hidden.
AnimateBounds
It stays shown, moving to its new bounds.
EnterFromLeft
It slides in from the left.
EnterFromRight
It slides in from the right.
EnterFromLeftDelayed
It slides in from the left, a little after the others.
EnterFromRightDelayed
It slides in from the right, a little after the others.
ExitToLeft
It slides out to the left.
ExitToRight
It slides out to the right.
EnterWithExpand
It grows from nothing between its neighbours.
ExitWithShrink
It shrinks to nothing between its neighbours.
Implementations§
Trait Implementations§
Source§impl Clone for PaneMotion
impl Clone for PaneMotion
Source§fn clone(&self) -> PaneMotion
fn clone(&self) -> PaneMotion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PaneMotion
Source§impl Debug for PaneMotion
impl Debug for PaneMotion
impl Eq for PaneMotion
Source§impl PartialEq for PaneMotion
impl PartialEq for PaneMotion
impl StructuralPartialEq for PaneMotion
Auto Trait Implementations§
impl Freeze for PaneMotion
impl RefUnwindSafe for PaneMotion
impl Send for PaneMotion
impl Sync for PaneMotion
impl Unpin for PaneMotion
impl UnsafeUnpin for PaneMotion
impl UnwindSafe for PaneMotion
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more