pub enum TransitionAngle {
LeftToRight,
BottomToTop,
RightToLeft,
TopToBottom,
TopLeftToBottomRight,
None,
}
Expand description
From where to where a page transition plays.
Variants§
LeftToRight
BottomToTop
RightToLeft
TopToBottom
TopLeftToBottomRight
None
No direction. Only allowed if the transition style is Fly
.
Trait Implementations§
source§impl Clone for TransitionAngle
impl Clone for TransitionAngle
source§fn clone(&self) -> TransitionAngle
fn clone(&self) -> TransitionAngle
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TransitionAngle
impl Debug for TransitionAngle
source§impl Hash for TransitionAngle
impl Hash for TransitionAngle
source§impl PartialEq for TransitionAngle
impl PartialEq for TransitionAngle
impl Copy for TransitionAngle
impl Eq for TransitionAngle
impl StructuralPartialEq for TransitionAngle
Auto Trait Implementations§
impl Freeze for TransitionAngle
impl RefUnwindSafe for TransitionAngle
impl Send for TransitionAngle
impl Sync for TransitionAngle
impl Unpin for TransitionAngle
impl UnwindSafe for TransitionAngle
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)