Struct qt_gui::q_region::RegionType
source · pub struct RegionType(/* private fields */);
Expand description
Specifies the shape of the region to be created.
C++ enum: QRegion::RegionType
.
Specifies the shape of the region to be created.
Implementations§
source§impl RegionType
impl RegionType
sourcepub const Rectangle: RegionType = _
pub const Rectangle: RegionType = _
the region covers the entire rectangle. (C++ enum variant: Rectangle = 0
)
sourcepub const Ellipse: RegionType = _
pub const Ellipse: RegionType = _
the region is an ellipse inside the rectangle. (C++ enum variant: Ellipse = 1
)
Trait Implementations§
source§impl Clone for RegionType
impl Clone for RegionType
source§fn clone(&self) -> RegionType
fn clone(&self) -> RegionType
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 RegionType
impl Debug for RegionType
source§impl From<RegionType> for c_int
impl From<RegionType> for c_int
source§fn from(value: RegionType) -> Self
fn from(value: RegionType) -> Self
Converts to this type from the input type.
source§impl From<i32> for RegionType
impl From<i32> for RegionType
source§impl PartialEq for RegionType
impl PartialEq for RegionType
source§fn eq(&self, other: &RegionType) -> bool
fn eq(&self, other: &RegionType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for RegionType
impl Eq for RegionType
impl StructuralEq for RegionType
impl StructuralPartialEq for RegionType
Auto Trait Implementations§
impl RefUnwindSafe for RegionType
impl Send for RegionType
impl Sync for RegionType
impl Unpin for RegionType
impl UnwindSafe for RegionType
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