Expand description
Representation of the <viewBox>
type.
Fields§
§x: f64
§y: f64
§w: f64
§h: f64
Implementations§
Trait Implementations§
source§impl From<ViewBox> for AttributeValue
impl From<ViewBox> for AttributeValue
source§impl WriteBuffer for ViewBox
impl WriteBuffer for ViewBox
source§fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)
fn write_buf_opt(&self, opt: &WriteOptions, buf: &mut Vec<u8, Global>)
Writes data to the
Vec<u8>
buffer using specified WriteOptions
.source§fn write_buf(&self, buf: &mut Vec<u8, Global>)
fn write_buf(&self, buf: &mut Vec<u8, Global>)
Writes data to the
Vec<u8>
buffer using default WriteOptions
.source§fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self>where
Self: Sized,
fn with_write_opt<'a>(&'a self, opt: &'a WriteOptions) -> DisplaySvg<'a, Self>where
Self: Sized,
Returns an object that implements
fmt::Display
using provided write options.