pub struct DeclaredNamespaces {
pub namespaces: Vec<NamespaceInformation>,
}Fields§
§namespaces: Vec<NamespaceInformation>Implementations§
Source§impl DeclaredNamespaces
impl DeclaredNamespaces
pub fn contains_prefix(&self, prefix: &String) -> bool
pub fn resolve_prefix(&self, prefix: &String) -> Option<&String>
Trait Implementations§
Source§impl Clone for DeclaredNamespaces
impl Clone for DeclaredNamespaces
Source§fn clone(&self) -> DeclaredNamespaces
fn clone(&self) -> DeclaredNamespaces
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeclaredNamespaces
impl Debug for DeclaredNamespaces
Source§impl Default for DeclaredNamespaces
impl Default for DeclaredNamespaces
Source§fn default() -> DeclaredNamespaces
fn default() -> DeclaredNamespaces
Returns the “default value” for a type. Read more
Source§impl PartialEq for DeclaredNamespaces
impl PartialEq for DeclaredNamespaces
impl StructuralPartialEq for DeclaredNamespaces
Auto Trait Implementations§
impl Freeze for DeclaredNamespaces
impl RefUnwindSafe for DeclaredNamespaces
impl Send for DeclaredNamespaces
impl Sync for DeclaredNamespaces
impl Unpin for DeclaredNamespaces
impl UnsafeUnpin for DeclaredNamespaces
impl UnwindSafe for DeclaredNamespaces
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