pub struct PrettySequence { /* private fields */ }Expand description
The document sequence type.
Implementations§
Source§impl PrettySequence
impl PrettySequence
Trait Implementations§
Source§impl<T> AddAssign<T> for PrettySequencewhere
T: Into<PrettyTree>,
impl<T> AddAssign<T> for PrettySequencewhere
T: Into<PrettyTree>,
Source§fn add_assign(&mut self, rhs: T)
fn add_assign(&mut self, rhs: T)
Performs the
+= operation. Read moreSource§impl Clone for PrettySequence
impl Clone for PrettySequence
Source§fn clone(&self) -> PrettySequence
fn clone(&self) -> PrettySequence
Returns a duplicate of the value. Read more
1.0.0 · 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 PrettySequence
impl Debug for PrettySequence
Source§impl Default for PrettySequence
impl Default for PrettySequence
Source§fn default() -> PrettySequence
fn default() -> PrettySequence
Returns the “default value” for a type. Read more
Source§impl From<PrettySequence> for PrettyTree
impl From<PrettySequence> for PrettyTree
Source§fn from(value: PrettySequence) -> Self
fn from(value: PrettySequence) -> Self
Converts to this type from the input type.
Source§impl PrettyBuilder for PrettySequence
impl PrettyBuilder for PrettySequence
Source§fn flat_alt<E>(self, flat: E) -> PrettyTreewhere
E: Into<PrettyTree>,
fn flat_alt<E>(self, flat: E) -> PrettyTreewhere
E: Into<PrettyTree>,
Acts as
self when laid out on multiple lines and acts as that when laid out on a single line. Read moreSource§fn indent(self, indent: usize) -> PrettyTree
fn indent(self, indent: usize) -> PrettyTree
Acts as
self when laid out on a single line and acts as that when laid out on multiple lines.Source§fn nest(self, offset: isize) -> PrettyTree
fn nest(self, offset: isize) -> PrettyTree
Increase the indentation level of this document.
Auto Trait Implementations§
impl Freeze for PrettySequence
impl !RefUnwindSafe for PrettySequence
impl !Send for PrettySequence
impl !Sync for PrettySequence
impl Unpin for PrettySequence
impl !UnwindSafe for PrettySequence
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