[−][src]Struct geo_svg::Svg
Fields
items: Vec<&'a dyn ToSvgStr>
siblings: Vec<Svg<'a>>
viewbox: ViewBox
style: Style
Implementations
impl<'a> Svg<'a>
[src]
pub fn and(self, sibling: Svg<'a>) -> Self
[src]
pub fn with_style(self, style: &Style) -> Self
[src]
pub fn with_margin(self, margin: f32) -> Self
[src]
pub fn with_color(self, color: Color) -> Self
[src]
pub fn with_opacity(self, opacity: f32) -> Self
[src]
pub fn with_fill_color(self, fill: Color) -> Self
[src]
pub fn with_fill_opacity(self, fill_opacity: f32) -> Self
[src]
pub fn with_stroke_width(self, stroke_width: f32) -> Self
[src]
pub fn with_stroke_opacity(self, stroke_opacity: f32) -> Self
[src]
pub fn with_stroke_color(self, stroke_color: Color) -> Self
[src]
pub fn with_radius(self, radius: f32) -> Self
[src]
pub fn svg_str(&self) -> String
[src]
pub fn viewbox(&self) -> ViewBox
[src]
Trait Implementations
Auto Trait Implementations
impl<'a> !RefUnwindSafe for Svg<'a>
impl<'a> !Send for Svg<'a>
impl<'a> !Sync for Svg<'a>
impl<'a> Unpin for Svg<'a>
impl<'a> !UnwindSafe for Svg<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,