pub struct RootNode {
pub children: Vec<Box<NonRootNode>>,
}
Fields§
§children: Vec<Box<NonRootNode>>
Implementations§
Source§impl RootNode
impl RootNode
pub fn new(children: Vec<NonRootNode>) -> Self
pub fn parse(text: &str) -> Result<Self, ParseError>
pub fn toggle(&mut self, identifier: TreeIdentifierVec)
Trait Implementations§
impl Eq for RootNode
impl StructuralPartialEq for RootNode
Auto Trait Implementations§
impl Freeze for RootNode
impl RefUnwindSafe for RootNode
impl Send for RootNode
impl Sync for RootNode
impl Unpin for RootNode
impl UnwindSafe for RootNode
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