pub struct Corner(/* private fields */);
Expand description
This enum type specifies a corner in a rectangle:
C++ enum: Qt::Corner
.
This enum type specifies a corner in a rectangle:
Implementations§
source§impl Corner
impl Corner
sourcepub const TopLeftCorner: Corner = _
pub const TopLeftCorner: Corner = _
The top-left corner of the rectangle. (C++ enum variant: TopLeftCorner = 0
)
sourcepub const TopRightCorner: Corner = _
pub const TopRightCorner: Corner = _
The top-right corner of the rectangle. (C++ enum variant: TopRightCorner = 1
)
sourcepub const BottomLeftCorner: Corner = _
pub const BottomLeftCorner: Corner = _
The bottom-left corner of the rectangle. (C++ enum variant: BottomLeftCorner = 2
)
sourcepub const BottomRightCorner: Corner = _
pub const BottomRightCorner: Corner = _
The bottom-right corner of the rectangle. (C++ enum variant: BottomRightCorner = 3
)
Trait Implementations§
source§impl PartialEq for Corner
impl PartialEq for Corner
impl Copy for Corner
impl Eq for Corner
impl StructuralEq for Corner
impl StructuralPartialEq for Corner
Auto Trait Implementations§
impl RefUnwindSafe for Corner
impl Send for Corner
impl Sync for Corner
impl Unpin for Corner
impl UnwindSafe for Corner
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