Trait components::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.
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.
Implementations on Foreign Types
impl WriteBuffer for f64[src]
impl WriteBuffer for f64[src]pub fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)[src]
impl<T> WriteBuffer for Vec<T, Global> where
T: WriteBuffer, [src]
impl<T> WriteBuffer for Vec<T, Global> where
T: WriteBuffer, [src]pub fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)[src]
Implementors
impl WriteBuffer for Angle[src]
impl WriteBuffer for Angle[src]pub fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)[src]
impl WriteBuffer for Length[src]
impl WriteBuffer for Length[src]pub fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)[src]
impl WriteBuffer for Path[src]
impl WriteBuffer for Path[src]