pub struct Tree { /* private fields */ }
Implementations§
Source§impl Tree
impl Tree
pub fn is_empty(&self) -> bool
pub fn entries(&self) -> TreeEntriesNonRecursiveIter<'_> ⓘ
pub fn set(&mut self, name: String, value: TreeValue)
pub fn remove<N>(&mut self, name: &N)
pub fn entry<N>(&self, name: &N) -> Option<TreeEntry<'_>>
pub fn value<N>(&self, name: &N) -> Option<&TreeValue>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tree
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
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