#[repr(u8)]pub enum Corner {
UpperLeft = 0,
UpperRight = 1,
LowerRight = 2,
LowerLeft = 3,
}
Expand description
Corner type of RRect
.
The radii are stored: top-left, top-right, bottom-right, bottom-left.
Variants§
UpperLeft = 0
index of top-left corner radii
UpperRight = 1
index of top-right corner radii
LowerRight = 2
index of bottom-right corner radii
LowerLeft = 3
index of bottom-left corner radii
Trait Implementations§
source§impl Ord for Corner
impl Ord for Corner
source§impl PartialEq for Corner
impl PartialEq for Corner
source§impl PartialOrd for Corner
impl PartialOrd for Corner
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Corner
impl Eq for Corner
impl StructuralPartialEq for Corner
Auto Trait Implementations§
impl Freeze for Corner
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