pub struct VectorImage {
pub width: f64,
pub height: f64,
pub shapes: Vec<VectorShape>,
}Expand description
SVG converted to filled/stroked paths (gradients become their first stop color in v1).
Fields§
§width: f64Width from the SVG’s view box.
height: f64Height from the SVG’s view box.
shapes: Vec<VectorShape>Shapes in painting order.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VectorImage
impl RefUnwindSafe for VectorImage
impl Send for VectorImage
impl Sync for VectorImage
impl Unpin for VectorImage
impl UnsafeUnpin for VectorImage
impl UnwindSafe for VectorImage
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