Struct qt_gui::q_transform::TransformationType
source · pub struct TransformationType(/* private fields */);
Expand description
C++ enum: QTransform::TransformationType
.
Implementations§
source§impl TransformationType
impl TransformationType
sourcepub const TxNone: TransformationType = _
pub const TxNone: TransformationType = _
C++ enum variant: TxNone = 0
sourcepub const TxTranslate: TransformationType = _
pub const TxTranslate: TransformationType = _
C++ enum variant: TxTranslate = 1
sourcepub const TxScale: TransformationType = _
pub const TxScale: TransformationType = _
C++ enum variant: TxScale = 2
sourcepub const TxRotate: TransformationType = _
pub const TxRotate: TransformationType = _
C++ enum variant: TxRotate = 4
sourcepub const TxShear: TransformationType = _
pub const TxShear: TransformationType = _
C++ enum variant: TxShear = 8
sourcepub const TxProject: TransformationType = _
pub const TxProject: TransformationType = _
C++ enum variant: TxProject = 16
Trait Implementations§
source§impl Clone for TransformationType
impl Clone for TransformationType
source§fn clone(&self) -> TransformationType
fn clone(&self) -> TransformationType
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 TransformationType
impl Debug for TransformationType
source§impl From<TransformationType> for c_int
impl From<TransformationType> for c_int
source§fn from(value: TransformationType) -> Self
fn from(value: TransformationType) -> Self
Converts to this type from the input type.
source§impl From<i32> for TransformationType
impl From<i32> for TransformationType
source§impl PartialEq for TransformationType
impl PartialEq for TransformationType
source§fn eq(&self, other: &TransformationType) -> bool
fn eq(&self, other: &TransformationType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for TransformationType
impl Eq for TransformationType
impl StructuralEq for TransformationType
impl StructuralPartialEq for TransformationType
Auto Trait Implementations§
impl RefUnwindSafe for TransformationType
impl Send for TransformationType
impl Sync for TransformationType
impl Unpin for TransformationType
impl UnwindSafe for TransformationType
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