pub enum ToggleAxis {
Horizontal,
Vertical,
}Expand description
Which way a bank runs.
Two variants and not three: crate::Axis carries a Both, which is a scrollable’s
answer and not a direction anything can be laid out along. The crate already names an
axis per family for this reason (crate::ReorderAxis, crate::IntrinsicAxis); that
there are now five of them is on the roadmap rather than solved here.
Variants§
Trait Implementations§
Source§impl Clone for ToggleAxis
impl Clone for ToggleAxis
impl Copy for ToggleAxis
Source§impl Debug for ToggleAxis
impl Debug for ToggleAxis
Source§impl Default for ToggleAxis
impl Default for ToggleAxis
impl Eq for ToggleAxis
Source§impl PartialEq for ToggleAxis
impl PartialEq for ToggleAxis
impl StructuralPartialEq for ToggleAxis
Auto Trait Implementations§
impl Freeze for ToggleAxis
impl RefUnwindSafe for ToggleAxis
impl Send for ToggleAxis
impl Sync for ToggleAxis
impl Unpin for ToggleAxis
impl UnsafeUnpin for ToggleAxis
impl UnwindSafe for ToggleAxis
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