Struct qt_core::CoordinateSystem
source · pub struct CoordinateSystem(/* private fields */);
Expand description
This enum specifies the coordinate system.
C++ enum: Qt::CoordinateSystem
.
This enum specifies the coordinate system.
This enum was introduced or modified in Qt 4.6.
Implementations§
source§impl CoordinateSystem
impl CoordinateSystem
sourcepub const DeviceCoordinates: CoordinateSystem = _
pub const DeviceCoordinates: CoordinateSystem = _
Coordinates are relative to the upper-left corner of the object’s paint device. (C++ enum variant: DeviceCoordinates = 0
)
sourcepub const LogicalCoordinates: CoordinateSystem = _
pub const LogicalCoordinates: CoordinateSystem = _
Coordinates are relative to the upper-left corner of the object. (C++ enum variant: LogicalCoordinates = 1
)
Trait Implementations§
source§impl Clone for CoordinateSystem
impl Clone for CoordinateSystem
source§fn clone(&self) -> CoordinateSystem
fn clone(&self) -> CoordinateSystem
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 CoordinateSystem
impl Debug for CoordinateSystem
source§impl From<CoordinateSystem> for c_int
impl From<CoordinateSystem> for c_int
source§fn from(value: CoordinateSystem) -> Self
fn from(value: CoordinateSystem) -> Self
Converts to this type from the input type.
source§impl From<i32> for CoordinateSystem
impl From<i32> for CoordinateSystem
source§impl PartialEq for CoordinateSystem
impl PartialEq for CoordinateSystem
source§fn eq(&self, other: &CoordinateSystem) -> bool
fn eq(&self, other: &CoordinateSystem) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CoordinateSystem
impl Eq for CoordinateSystem
impl StructuralEq for CoordinateSystem
impl StructuralPartialEq for CoordinateSystem
Auto Trait Implementations§
impl RefUnwindSafe for CoordinateSystem
impl Send for CoordinateSystem
impl Sync for CoordinateSystem
impl Unpin for CoordinateSystem
impl UnwindSafe for CoordinateSystem
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