Enum taffy::axis::AbstractAxis
source · pub enum AbstractAxis {
Inline,
Block,
}
Expand description
The CSS abstract axis https://www.w3.org/TR/css-writing-modes-3/#abstract-axes
Variants§
Inline
The axis in the inline dimension, i.e. the horizontal axis in horizontal writing modes and the vertical axis in vertical writing modes.
Block
The axis in the block dimension, i.e. the vertical axis in horizontal writing modes and the horizontal axis in vertical writing modes.
Implementations§
source§impl AbstractAxis
impl AbstractAxis
sourcepub fn other(&self) -> AbstractAxis
pub fn other(&self) -> AbstractAxis
Returns the other variant of the enum
Trait Implementations§
source§impl Clone for AbstractAxis
impl Clone for AbstractAxis
source§fn clone(&self) -> AbstractAxis
fn clone(&self) -> AbstractAxis
Returns a copy of the value. Read more
1.0.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 AbstractAxis
impl Debug for AbstractAxis
source§impl PartialEq for AbstractAxis
impl PartialEq for AbstractAxis
source§fn eq(&self, other: &AbstractAxis) -> bool
fn eq(&self, other: &AbstractAxis) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AbstractAxis
impl Eq for AbstractAxis
impl StructuralEq for AbstractAxis
impl StructuralPartialEq for AbstractAxis
Auto Trait Implementations§
impl RefUnwindSafe for AbstractAxis
impl Send for AbstractAxis
impl Sync for AbstractAxis
impl Unpin for AbstractAxis
impl UnwindSafe for AbstractAxis
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