pub enum LB<'a> {
L(&'a str),
B(&'a [Wood]),
}
Expand description
A more succinct enum for discriminating leaves and branches, accessible via Wood::what
Variants§
Auto Trait Implementations§
impl<'a> Freeze for LB<'a>
impl<'a> RefUnwindSafe for LB<'a>
impl<'a> Send for LB<'a>
impl<'a> Sync for LB<'a>
impl<'a> Unpin for LB<'a>
impl<'a> UnwindSafe for LB<'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