pub struct ExpandedName<'a, 'b> { /* private fields */ }
Expand description
An expanded name.
Contains an namespace URI and name pair.
Implementations§
source§impl<'a, 'b> ExpandedName<'a, 'b>
impl<'a, 'b> ExpandedName<'a, 'b>
source§impl ExpandedName<'static, 'static>
impl ExpandedName<'static, 'static>
sourcepub const fn from_static(uri: &'static str, name: &'static str) -> Self
pub const fn from_static(uri: &'static str, name: &'static str) -> Self
Create a new instance from static data.
§Example
use roxmltree::ExpandedName;
const DAV_HREF: ExpandedName =
ExpandedName::from_static("urn:ietf:params:xml:ns:caldav:", "calendar-data");
Trait Implementations§
source§impl<'a, 'b> Clone for ExpandedName<'a, 'b>
impl<'a, 'b> Clone for ExpandedName<'a, 'b>
source§fn clone(&self) -> ExpandedName<'a, 'b>
fn clone(&self) -> ExpandedName<'a, 'b>
Returns a copy 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 ExpandedName<'_, '_>
impl Debug for ExpandedName<'_, '_>
source§impl<'a, 'b> From<&'b str> for ExpandedName<'a, 'b>
impl<'a, 'b> From<&'b str> for ExpandedName<'a, 'b>
source§impl<'a, 'b> PartialEq for ExpandedName<'a, 'b>
impl<'a, 'b> PartialEq for ExpandedName<'a, 'b>
impl<'a, 'b> Copy for ExpandedName<'a, 'b>
impl<'a, 'b> Eq for ExpandedName<'a, 'b>
impl<'a, 'b> StructuralPartialEq for ExpandedName<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for ExpandedName<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ExpandedName<'a, 'b>
impl<'a, 'b> Send for ExpandedName<'a, 'b>
impl<'a, 'b> Sync for ExpandedName<'a, 'b>
impl<'a, 'b> Unpin for ExpandedName<'a, 'b>
impl<'a, 'b> UnwindSafe for ExpandedName<'a, 'b>
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)