pub struct ConfigTree {
pub ptr: UniquePtr<ConfigTree>,
}
Fields§
§ptr: UniquePtr<ConfigTree>
Implementations§
Source§impl ConfigTree
impl ConfigTree
pub fn new(ptr: UniquePtr<ConfigTree>) -> Self
pub fn tag(&self) -> Option<String>
pub fn value(&self) -> Option<String>
pub fn child(&self) -> Option<ConfigTree>
pub fn sibling(&self) -> Option<ConfigTree>
pub fn parent(&self) -> Option<ConfigTree>
pub fn iter(&self) -> IterConfigTree ⓘ
Trait Implementations§
Source§impl IntoIterator for ConfigTree
impl IntoIterator for ConfigTree
Auto Trait Implementations§
impl Freeze for ConfigTree
impl RefUnwindSafe for ConfigTree
impl !Send for ConfigTree
impl !Sync for ConfigTree
impl Unpin for ConfigTree
impl UnwindSafe for ConfigTree
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