pub struct FormatOptions { /* private fields */ }Expand description
Controls how an SVG element is rendered to a string.
Implementations§
Source§impl FormatOptions
impl FormatOptions
Sourcepub fn pretty_with_indent(indent: impl Into<String>) -> Self
pub fn pretty_with_indent(indent: impl Into<String>) -> Self
Renders element children on separate lines with the given indentation.
Trait Implementations§
Source§impl Clone for FormatOptions
impl Clone for FormatOptions
Source§fn clone(&self) -> FormatOptions
fn clone(&self) -> FormatOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormatOptions
impl Debug for FormatOptions
Source§impl Default for FormatOptions
impl Default for FormatOptions
impl Eq for FormatOptions
Source§impl PartialEq for FormatOptions
impl PartialEq for FormatOptions
Source§fn eq(&self, other: &FormatOptions) -> bool
fn eq(&self, other: &FormatOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FormatOptions
Auto Trait Implementations§
impl Freeze for FormatOptions
impl RefUnwindSafe for FormatOptions
impl Send for FormatOptions
impl Sync for FormatOptions
impl Unpin for FormatOptions
impl UnsafeUnpin for FormatOptions
impl UnwindSafe for FormatOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more