pub struct NamespaceStack { /* private fields */ }Implementations§
Source§impl NamespaceStack
impl NamespaceStack
pub fn is_declared(&self, prefix: &str) -> bool
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get(&self, prefix: &str) -> Option<Namespace>
pub fn push(&mut self, prefix: &str, namespace_name: &str)
pub fn pop(&mut self) -> Option<Namespace>
pub fn truncate(&mut self, depth: usize)
pub fn clear(&mut self)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NamespaceStack
impl RefUnwindSafe for NamespaceStack
impl Send for NamespaceStack
impl Sync for NamespaceStack
impl Unpin for NamespaceStack
impl UnwindSafe for NamespaceStack
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