pub enum PaintStyle {
Fill = 0,
Stroke = 1,
StrokeAndFill = 2,
}Expand description
绘图样式。Paint style - fill, stroke, or both.
Variants§
Trait Implementations§
Source§impl Clone for PaintStyle
impl Clone for PaintStyle
Source§fn clone(&self) -> PaintStyle
fn clone(&self) -> PaintStyle
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 PaintStyle
impl Debug for PaintStyle
Source§impl Default for PaintStyle
impl Default for PaintStyle
Source§fn default() -> PaintStyle
fn default() -> PaintStyle
Returns the “default value” for a type. Read more
Source§impl From<PaintStyle> for u8
impl From<PaintStyle> for u8
Source§fn from(s: PaintStyle) -> Self
fn from(s: PaintStyle) -> Self
Converts to this type from the input type.
Source§impl PartialEq for PaintStyle
impl PartialEq for PaintStyle
impl Copy for PaintStyle
impl Eq for PaintStyle
impl StructuralPartialEq for PaintStyle
Auto Trait Implementations§
impl Freeze for PaintStyle
impl RefUnwindSafe for PaintStyle
impl Send for PaintStyle
impl Sync for PaintStyle
impl Unpin for PaintStyle
impl UnsafeUnpin for PaintStyle
impl UnwindSafe for PaintStyle
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