pub enum StrokeKind {
Inside,
Middle,
Outside,
}
Expand description
Describes how the stroke of a shape should be painted.
Variants§
Inside
The stroke should be painted entirely inside of the shape
Middle
The stroke should be painted right on the edge of the shape, half inside and half outside.
Outside
The stroke should be painted entirely outside of the shape
Trait Implementations§
Source§impl Clone for StrokeKind
impl Clone for StrokeKind
Source§fn clone(&self) -> StrokeKind
fn clone(&self) -> StrokeKind
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 StrokeKind
impl Debug for StrokeKind
Source§impl<'de> Deserialize<'de> for StrokeKind
impl<'de> Deserialize<'de> for StrokeKind
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<StrokeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<StrokeKind, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StrokeKind
impl PartialEq for StrokeKind
Source§impl Serialize for StrokeKind
impl Serialize for StrokeKind
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for StrokeKind
impl Eq for StrokeKind
impl StructuralPartialEq for StrokeKind
Auto Trait Implementations§
impl Freeze for StrokeKind
impl RefUnwindSafe for StrokeKind
impl Send for StrokeKind
impl Sync for StrokeKind
impl Unpin for StrokeKind
impl UnwindSafe for StrokeKind
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