pub struct SvgBuilder { /* private fields */ }Implementations§
Source§impl SvgBuilder
impl SvgBuilder
Sourcepub const fn stroke_width(self, width: f32) -> Self
pub const fn stroke_width(self, width: f32) -> Self
Set the stroke width of the SVG
Sourcepub const fn stretch(self, stretch: StretchMode) -> Self
pub const fn stretch(self, stretch: StretchMode) -> Self
Set the stretch mode of the SVG
pub fn build(self) -> AnimObj
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SvgBuilder
impl RefUnwindSafe for SvgBuilder
impl Send for SvgBuilder
impl Sync for SvgBuilder
impl Unpin for SvgBuilder
impl UnsafeUnpin for SvgBuilder
impl UnwindSafe for SvgBuilder
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