#[repr(u32)]pub enum Cap {
Butt,
Round,
Square,
}
Variants§
Implementations§
source§impl SkPaint_Cap
impl SkPaint_Cap
pub const Last: SkPaint_Cap = SkPaint_Cap::Square
source§impl SkPaint_Cap
impl SkPaint_Cap
pub const Default: SkPaint_Cap = SkPaint_Cap::Butt
Trait Implementations§
source§impl Clone for SkPaint_Cap
impl Clone for SkPaint_Cap
source§fn clone(&self) -> SkPaint_Cap
fn clone(&self) -> SkPaint_Cap
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 SkPaint_Cap
impl Debug for SkPaint_Cap
source§impl Default for SkPaint_Cap
impl Default for SkPaint_Cap
source§fn default() -> SkPaint_Cap
fn default() -> SkPaint_Cap
Returns the “default value” for a type. Read more
source§impl Hash for SkPaint_Cap
impl Hash for SkPaint_Cap
source§impl PartialEq<SkPaint_Cap> for SkPaint_Cap
impl PartialEq<SkPaint_Cap> for SkPaint_Cap
source§fn eq(&self, other: &SkPaint_Cap) -> bool
fn eq(&self, other: &SkPaint_Cap) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SkPaint_Cap
impl Eq for SkPaint_Cap
impl StructuralEq for SkPaint_Cap
impl StructuralPartialEq for SkPaint_Cap
Auto Trait Implementations§
impl RefUnwindSafe for SkPaint_Cap
impl Send for SkPaint_Cap
impl Sync for SkPaint_Cap
impl Unpin for SkPaint_Cap
impl UnwindSafe for SkPaint_Cap
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