Trait ux::path::WriteBuffer[][src]

pub trait WriteBuffer {
    pub fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>);

    pub fn write_buf(&self, buf: &mut Vec<u8, Global>) { ... }
pub fn with_write_opt(
        &'a self,
        opt: &'a WriteOptions
    ) -> DisplaySvg<'a, Self> { ... } }

A trait for writing data to the buffer.

Required methods

pub fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)[src]

Writes data to the Vec<u8> buffer using specified WriteOptions.

Loading content...

Provided methods

pub fn write_buf(&self, buf: &mut Vec<u8, Global>)[src]

Writes data to the Vec<u8> buffer using default WriteOptions.

pub fn with_write_opt(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self>[src]

Returns an object that implements fmt::Display using provided write options.

Loading content...

Implementations on Foreign Types

impl<T> WriteBuffer for Vec<T, Global> where
    T: WriteBuffer
[src]

impl WriteBuffer for f64[src]

Loading content...

Implementors

impl WriteBuffer for Angle[src]

impl WriteBuffer for Length[src]

impl WriteBuffer for Path[src]

Loading content...