pub struct Vector {
pub d: String,
pub view_box: [f32; 4],
}Expand description
A Vector’s path and the box of path coordinates it is drawn from.
Fields§
§d: StringThe path, as SVG path data.
view_box: [f32; 4][minX, minY, width, height].
Trait Implementations§
impl StructuralPartialEq for Vector
Auto Trait Implementations§
impl Forget for Vector
impl Freeze for Vector
impl Move for Vector
impl RefUnwindSafe for Vector
impl Send for Vectorwhere
RawVecInner: Send,
impl Sync for Vectorwhere
RawVecInner: Sync,
impl Unpin for Vector
impl UnsafeUnpin for Vector
impl UnwindSafe for Vectorwhere
RawVecInner: UnwindSafe,
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