pub(crate) struct ExpandedNameIndexed<'input> {
pub(crate) namespace_idx: Option<NamespaceIdx>,
pub(crate) local_name: &'input str,
}
Fields§
§namespace_idx: Option<NamespaceIdx>
§local_name: &'input str
Implementations§
Source§impl<'input> ExpandedNameIndexed<'input>
impl<'input> ExpandedNameIndexed<'input>
pub(crate) fn namespace<'a>( &self, doc: &'a Document<'input>, ) -> Option<&'a Namespace<'input>>
pub(crate) fn as_expanded_name<'a>( &self, doc: &'a Document<'input>, ) -> ExpandedName<'a, 'input>
Trait Implementations§
Source§impl<'input> Clone for ExpandedNameIndexed<'input>
impl<'input> Clone for ExpandedNameIndexed<'input>
Source§fn clone(&self) -> ExpandedNameIndexed<'input>
fn clone(&self) -> ExpandedNameIndexed<'input>
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<'input> Debug for ExpandedNameIndexed<'input>
impl<'input> Debug for ExpandedNameIndexed<'input>
impl<'input> Copy for ExpandedNameIndexed<'input>
Auto Trait Implementations§
impl<'input> Freeze for ExpandedNameIndexed<'input>
impl<'input> RefUnwindSafe for ExpandedNameIndexed<'input>
impl<'input> Send for ExpandedNameIndexed<'input>
impl<'input> Sync for ExpandedNameIndexed<'input>
impl<'input> Unpin for ExpandedNameIndexed<'input>
impl<'input> UnwindSafe for ExpandedNameIndexed<'input>
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