pub struct LitStr1ListConstructor { /* private fields */ }Implementations§
Source§impl LitStr1ListConstructor
impl LitStr1ListConstructor
Sourcepub fn builder() -> LitStr1ListConstructorBuilder
pub fn builder() -> LitStr1ListConstructorBuilder
Create an instance of LitStr1ListConstructor using the builder syntax
Source§impl LitStr1ListConstructor
impl LitStr1ListConstructor
Sourcepub fn empty() -> LitStr1ListNode
pub fn empty() -> LitStr1ListNode
Create an empty node (base case for recursion)
Sourcepub fn build(self) -> LitStr1ListNode
pub fn build(self) -> LitStr1ListNode
Create a node with children (recursive case)
Auto Trait Implementations§
impl Freeze for LitStr1ListConstructor
impl RefUnwindSafe for LitStr1ListConstructor
impl Send for LitStr1ListConstructor
impl Sync for LitStr1ListConstructor
impl Unpin for LitStr1ListConstructor
impl UnwindSafe for LitStr1ListConstructor
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