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 duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more