[][src]Struct rvg::Graphic

pub struct Graphic {
    pub attributes: Vec<Attribute>,
    pub vertex_list: Vec<f32>,
    pub group: Vec<Vec<PathOp>>,
    pub models: Vec<Model>,
    pub bitmaps: Vec<Bitmap>,
}

An RVG graphic that has been parsed, or will be parsed.

Fields

attributes: Vec<Attribute>vertex_list: Vec<f32>group: Vec<Vec<PathOp>>models: Vec<Model>bitmaps: Vec<Bitmap>

Implementations

impl Graphic[src]

pub fn load<R: Read>(reader: R) -> Option<Graphic>[src]

pub fn save<W: Write>(&self, writer: W) -> Option<()>[src]

Auto Trait Implementations

impl RefUnwindSafe for Graphic

impl Send for Graphic

impl Sync for Graphic

impl Unpin for Graphic

impl UnwindSafe for Graphic

Blanket Implementations

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

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,