pub enum Axis {
X,
Y,
}Expand description
Which axis a pan or a touch-action permission is about.
teksilo-core has no existing public Axis/Orientation type that fits
here (teksilo_tokens::Orientation names a widget layout axis, and
teksilo-widgets’ private Axis isn’t reachable from this crate), so this
module declares its own.
Variants§
Trait Implementations§
impl Copy for Axis
impl Eq for Axis
impl StructuralPartialEq for Axis
Auto Trait Implementations§
impl Freeze for Axis
impl RefUnwindSafe for Axis
impl Send for Axis
impl Sync for Axis
impl Unpin for Axis
impl UnsafeUnpin for Axis
impl UnwindSafe for Axis
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