[−][src]Trait svgtypes::WriteBuffer
A trait for writing data to the buffer.
Required methods
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
Writes data to the Vec<u8>
buffer using specified WriteOptions
.
Provided methods
fn write_buf(&self, buf: &mut Vec<u8>)
Writes data to the Vec<u8>
buffer using default WriteOptions
.
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
Self: Sized,
Returns an object that implements fmt::Display
using provided write options.
Implementations on Foreign Types
impl<T: WriteBuffer> WriteBuffer for Vec<T>
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for f64
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for (f64, f64)
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
Implementors
impl WriteBuffer for Angle
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for AspectRatio
[src]
fn write_buf_opt(&self, _: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for Color
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for Length
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for Path
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for Transform
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,
impl WriteBuffer for ViewBox
[src]
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8>)
[src]
fn write_buf(&self, buf: &mut Vec<u8>)
[src]
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self> where
Self: Sized,
[src]
Self: Sized,