#[repr(u32)]pub enum RectCorner {
UpperLeft = 0,
UpperRight = 1,
LowerRight = 2,
LowerLeft = 3,
}Expand description
矩形起始角,指定 add_rect 时从哪个角开始绘制。 Rectangle start corner for add_rect (which corner to begin drawing from).
Variants§
UpperLeft = 0
左上 / Upper-left
UpperRight = 1
右上 / Upper-right
LowerRight = 2
右下 / Lower-right
LowerLeft = 3
左下 / Lower-left
Trait Implementations§
Source§impl Clone for RectCorner
impl Clone for RectCorner
Source§fn clone(&self) -> RectCorner
fn clone(&self) -> RectCorner
Returns a duplicate 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 RectCorner
impl Debug for RectCorner
Source§impl Default for RectCorner
impl Default for RectCorner
Source§impl From<RectCorner> for u32
impl From<RectCorner> for u32
Source§fn from(c: RectCorner) -> Self
fn from(c: RectCorner) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RectCorner
impl PartialEq for RectCorner
impl Copy for RectCorner
impl Eq for RectCorner
impl StructuralPartialEq for RectCorner
Auto Trait Implementations§
impl Freeze for RectCorner
impl RefUnwindSafe for RectCorner
impl Send for RectCorner
impl Sync for RectCorner
impl Unpin for RectCorner
impl UnsafeUnpin for RectCorner
impl UnwindSafe for RectCorner
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