pub struct OpenClosedGroup { /* private fields */ }
Expand description
Implementations§
Source§impl OpenClosedGroup
impl OpenClosedGroup
pub fn set_mark<S: Into<String>>(&mut self, inline: S, multiline: S)
pub fn set_end_mark(&mut self, inline: bool, multiline: bool)
pub fn set_indent(&mut self, indent: usize) -> &mut OpenClosedGroup
Source§impl OpenClosedGroup
impl OpenClosedGroup
pub fn pretty_print<'i, T, I>(&self, start: T, end: T, items: I, width: usize)
pub fn pretty_render<'i, T, I>( &self, start: T, end: T, items: I, width: usize, ) -> String
pub fn build<'i, T, I>(&self, start: T, end: T, items: I) -> PrettyPrint<'i>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpenClosedGroup
impl RefUnwindSafe for OpenClosedGroup
impl Send for OpenClosedGroup
impl Sync for OpenClosedGroup
impl Unpin for OpenClosedGroup
impl UnwindSafe for OpenClosedGroup
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