pub struct Path {
pub path: String,
pub winding_rule: WindingRule,
pub override_id: Option<f64>,
}
Expand description
Path : Defines a single path
Fields§
§path: String
A series of path commands that encodes how to draw the path.
winding_rule: WindingRule
The winding rule for the path (same as in SVGs). This determines whether a given point in space is inside or outside the path.
override_id: Option<f64>
If there is a per-region fill, this refers to an ID in the fillOverrideTable
.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Path
impl<'de> Deserialize<'de> for Path
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
impl StructuralPartialEq for Path
Auto Trait Implementations§
impl Freeze for Path
impl RefUnwindSafe for Path
impl Send for Path
impl Sync for Path
impl Unpin for Path
impl UnwindSafe for Path
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