#[non_exhaustive]pub struct PathShape {
pub fill_rule: Option<FillRule>,
pub path: Box<str>,
}Expand description
Represents a path() shape using an SVG path string.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.fill_rule: Option<FillRule>The fill rule to use
path: Box<str>SVG path data string
Trait Implementations§
impl StructuralPartialEq for PathShape
Auto Trait Implementations§
impl Freeze for PathShape
impl RefUnwindSafe for PathShape
impl Send for PathShape
impl Sync for PathShape
impl Unpin for PathShape
impl UnsafeUnpin for PathShape
impl UnwindSafe for PathShape
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