#[repr(transparent)]pub struct RectCorner {
pub repr: u32,
}Expand description
矩形起始角,与 SkPath::addRect 角索引一致。
Rect start corner index for addRect.
Fields§
§repr: u32Implementations§
Source§impl RectCorner
impl RectCorner
Sourcepub const UpperRight: Self
pub const UpperRight: Self
右上。Upper-right.
Sourcepub const LowerRight: Self
pub const LowerRight: Self
右下。Lower-right.
Trait Implementations§
Source§impl Clone for RectCorner
impl Clone for RectCorner
Source§impl Debug for RectCorner
impl Debug for RectCorner
Source§impl Default for RectCorner
impl Default for RectCorner
Source§impl ExternType for RectCorner
impl ExternType for RectCorner
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