Trait XmlWriterExt

Source
trait XmlWriterExt {
Show 14 methods // Required methods fn start_svg_element(&mut self, id: EId); fn write_svg_attribute<V: Display + ?Sized>(&mut self, id: AId, value: &V); fn write_id_attribute(&mut self, id: &str, opt: &WriteOptions); fn write_color(&mut self, id: AId, color: Color); fn write_units(&mut self, id: AId, units: Units, def: Units); fn write_transform(&mut self, id: AId, units: Transform, opt: &WriteOptions); fn write_visibility(&mut self, value: bool); fn write_func_iri(&mut self, aid: AId, id: &str, opt: &WriteOptions); fn write_rect_attrs(&mut self, r: NonZeroRect); fn write_numbers(&mut self, aid: AId, list: &[f32]); fn write_image_data(&mut self, kind: &ImageKind); fn write_filter_input(&mut self, id: AId, input: &Input); fn write_filter_primitive_attrs( &mut self, parent_rect: NonZeroRect, fe: &Primitive, ); fn write_filter_transfer_function( &mut self, eid: EId, fe: &TransferFunction, );
}

Required Methods§

Source

fn start_svg_element(&mut self, id: EId)

Source

fn write_svg_attribute<V: Display + ?Sized>(&mut self, id: AId, value: &V)

Source

fn write_id_attribute(&mut self, id: &str, opt: &WriteOptions)

Source

fn write_color(&mut self, id: AId, color: Color)

Source

fn write_units(&mut self, id: AId, units: Units, def: Units)

Source

fn write_transform(&mut self, id: AId, units: Transform, opt: &WriteOptions)

Source

fn write_visibility(&mut self, value: bool)

Source

fn write_func_iri(&mut self, aid: AId, id: &str, opt: &WriteOptions)

Source

fn write_rect_attrs(&mut self, r: NonZeroRect)

Source

fn write_numbers(&mut self, aid: AId, list: &[f32])

Source

fn write_image_data(&mut self, kind: &ImageKind)

Source

fn write_filter_input(&mut self, id: AId, input: &Input)

Source

fn write_filter_primitive_attrs( &mut self, parent_rect: NonZeroRect, fe: &Primitive, )

Source

fn write_filter_transfer_function(&mut self, eid: EId, fe: &TransferFunction)

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl XmlWriterExt for XmlWriter

Source§

fn start_svg_element(&mut self, id: EId)

Source§

fn write_svg_attribute<V: Display + ?Sized>(&mut self, id: AId, value: &V)

Source§

fn write_id_attribute(&mut self, id: &str, opt: &WriteOptions)

Source§

fn write_color(&mut self, id: AId, c: Color)

Source§

fn write_units(&mut self, id: AId, units: Units, def: Units)

Source§

fn write_transform(&mut self, id: AId, ts: Transform, opt: &WriteOptions)

Source§

fn write_visibility(&mut self, value: bool)

Source§

fn write_func_iri(&mut self, aid: AId, id: &str, opt: &WriteOptions)

Source§

fn write_rect_attrs(&mut self, r: NonZeroRect)

Source§

fn write_numbers(&mut self, aid: AId, list: &[f32])

Source§

fn write_filter_input(&mut self, id: AId, input: &Input)

Source§

fn write_filter_primitive_attrs( &mut self, parent_rect: NonZeroRect, fe: &Primitive, )

Source§

fn write_filter_transfer_function(&mut self, eid: EId, fe: &TransferFunction)

Source§

fn write_image_data(&mut self, kind: &ImageKind)

Implementors§