pub struct Subpath {
pub closed: bool,
pub vertices: Vec<PathVertex>,
}Expand description
A run of vertices joined by cubic Bezier segments.
Fields§
§closed: boolWhether a segment joins the last vertex back to the first.
vertices: Vec<PathVertex>The vertices, in order.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Subpath
impl<'de> Deserialize<'de> for Subpath
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 Subpath
Auto Trait Implementations§
impl Freeze for Subpath
impl RefUnwindSafe for Subpath
impl Send for Subpath
impl Sync for Subpath
impl Unpin for Subpath
impl UnsafeUnpin for Subpath
impl UnwindSafe for Subpath
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