[][src]Enum svg_tikz::Element

pub enum Element {
    Path {
        close: bool,
        path: Vec<PathElement>,
        style: Style,
    },
    Ellipse {
        cx: f32,
        cy: f32,
        rx: f32,
        ry: f32,
        style: Style,
    },
    Text {
        x: f32,
        y: f32,
        text: String,
    },
    Rectangle {
        style: Style,
        x0: f32,
        y0: f32,
        x1: f32,
        y1: f32,
    },
    BeginGroup {
        id: String,
    },
    EndGroup,
}

Variants

Path

Fields of Path

close: boolpath: Vec<PathElement>style: Style
Ellipse

Fields of Ellipse

cx: f32cy: f32rx: f32ry: f32style: Style
Text

Fields of Text

x: f32y: f32text: String
Rectangle

Fields of Rectangle

style: Stylex0: f32y0: f32x1: f32y1: f32
BeginGroup

Fields of BeginGroup

id: String
EndGroup

Trait Implementations

impl Clone for Element[src]

default fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Element[src]

Auto Trait Implementations

impl Send for Element

impl Sync for Element

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.