pub enum Direction {
TopToBottom,
BottomToTop,
LeftToRight,
RightToLeft,
Auto,
}Expand description
The direction a Directional reveal sweeps.
Variants§
TopToBottom
Row by row from the top. Good for tall art. (default)
BottomToTop
Row by row from the bottom.
LeftToRight
Column by column from the left.
RightToLeft
Column by column from the right.
Auto
Top to bottom unless the art reads much wider than tall. The smart default.
Trait Implementations§
impl Copy for Direction
impl Eq for Direction
impl StructuralPartialEq for Direction
Auto Trait Implementations§
impl Freeze for Direction
impl RefUnwindSafe for Direction
impl Send for Direction
impl Sync for Direction
impl Unpin for Direction
impl UnsafeUnpin for Direction
impl UnwindSafe for Direction
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