pub enum Indent {
None,
Spaces(u8),
Tabs,
}
Expand description
An XML node indention.
Variants§
None
Disable indention and new lines.
Spaces(u8)
Indent with spaces. Preferred range is 0..4.
Tabs
Indent with tabs.
Trait Implementations§
impl Copy for Indent
impl StructuralPartialEq for Indent
Auto Trait Implementations§
impl Freeze for Indent
impl RefUnwindSafe for Indent
impl Send for Indent
impl Sync for Indent
impl Unpin for Indent
impl UnwindSafe for Indent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)