pub struct NBuilder<'a>(/* private fields */);Implementations§
Source§impl<'a> NBuilder<'a>
impl<'a> NBuilder<'a>
pub fn new() -> NBuilder<'a>
pub fn nl(&'a self) -> NRef<'a>
pub fn txt(&'a self, text: impl ToString) -> NRef<'a>
pub fn flat(&'a self, n_ref: NRef<'a>) -> NRef<'a>
pub fn indent(&'a self, indent: u32, n_ref: NRef<'a>) -> NRef<'a>
pub fn concat(&'a self, n_refs: impl IntoIterator<Item = NRef<'a>>) -> NRef<'a>
pub fn choice(&'a self, first: NRef<'a>, second: NRef<'a>) -> NRef<'a>
Auto Trait Implementations§
impl<'a> !Freeze for NBuilder<'a>
impl<'a> !RefUnwindSafe for NBuilder<'a>
impl<'a> Send for NBuilder<'a>
impl<'a> !Sync for NBuilder<'a>
impl<'a> Unpin for NBuilder<'a>
impl<'a> UnwindSafe for NBuilder<'a>
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