pub enum Axis {
Horizontal,
Vertical,
}Expand description
Which axis a non-planar transform is organized around.
The precise meaning is documented per transform, but the convention is that the
variant names the reference line’s orientation: Axis::Vertical refers to a
vertical line/axis (so bending happens left-to-right across the image), and
Axis::Horizontal to a horizontal one (bending top-to-bottom).
Variants§
Horizontal
A horizontal reference line/axis (effect varies down the image).
Vertical
A vertical reference line/axis (effect varies across the image).
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