pub struct Data { /* private fields */ }Expand description
Represents the data attribute of a svg path
Implementations§
Source§impl Data
impl Data
Sourcepub fn from_points(points: &[Point]) -> Self
pub fn from_points(points: &[Point]) -> Self
Create the element content from a series of points Note: there must be more than one point for this to do anything.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Data
impl RefUnwindSafe for Data
impl Send for Data
impl Sync for Data
impl Unpin for Data
impl UnwindSafe for Data
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