pub enum WindingRule {
Nonzero,
Evenodd,
}
Expand description
The winding rule for the path (same as in SVGs). This determines whether a given point in space is inside or outside the path.
Variants§
Trait Implementations§
Source§impl Clone for WindingRule
impl Clone for WindingRule
Source§fn clone(&self) -> WindingRule
fn clone(&self) -> WindingRule
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 WindingRule
impl Debug for WindingRule
Source§impl Default for WindingRule
impl Default for WindingRule
Source§fn default() -> WindingRule
fn default() -> WindingRule
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WindingRule
impl<'de> Deserialize<'de> for WindingRule
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for WindingRule
impl Hash for WindingRule
Source§impl Ord for WindingRule
impl Ord for WindingRule
Source§fn cmp(&self, other: &WindingRule) -> Ordering
fn cmp(&self, other: &WindingRule) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindingRule
impl PartialEq for WindingRule
Source§impl PartialOrd for WindingRule
impl PartialOrd for WindingRule
Source§impl Serialize for WindingRule
impl Serialize for WindingRule
impl Copy for WindingRule
impl Eq for WindingRule
impl StructuralPartialEq for WindingRule
Auto Trait Implementations§
impl Freeze for WindingRule
impl RefUnwindSafe for WindingRule
impl Send for WindingRule
impl Sync for WindingRule
impl Unpin for WindingRule
impl UnwindSafe for WindingRule
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.