[][src]Struct qt_core::Axis

#[repr(transparent)]pub struct Axis(_);

This enum type defines three values to represent the three axes in the cartesian coordinate system.

C++ enum: Qt::Axis.

C++ documentation:

This enum type defines three values to represent the three axes in the cartesian coordinate system.

See also QTransform::rotate() and QTransform::rotateRadians().

Methods

impl Axis[src]

pub fn to_int(&self) -> c_int[src]

impl Axis[src]

pub const XAxis: Axis[src]

The X axis. (C++ enum variant: XAxis = 0)

pub const YAxis: Axis[src]

The Y axis. (C++ enum variant: YAxis = 1)

pub const ZAxis: Axis[src]

The Z axis. (C++ enum variant: ZAxis = 2)

Trait Implementations

impl Clone for Axis[src]

impl Copy for Axis[src]

impl Debug for Axis[src]

impl Eq for Axis[src]

impl From<Axis> for c_int[src]

impl From<i32> for Axis[src]

impl PartialEq<Axis> for Axis[src]

impl StructuralEq for Axis[src]

impl StructuralPartialEq for Axis[src]

Auto Trait Implementations

impl RefUnwindSafe for Axis

impl Send for Axis

impl Sync for Axis

impl Unpin for Axis

impl UnwindSafe for Axis

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T, U> CastInto<U> for T where
    U: CastFrom<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> StaticUpcast<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.