Enum xmlparser::EntityDefinition
source · pub enum EntityDefinition<'a> {
EntityValue(StrSpan<'a>),
ExternalId(ExternalId<'a>),
}
Expand description
Representation of the EntityDef value.
Variants§
EntityValue(StrSpan<'a>)
ExternalId(ExternalId<'a>)
Trait Implementations§
source§impl<'a> Clone for EntityDefinition<'a>
impl<'a> Clone for EntityDefinition<'a>
source§fn clone(&self) -> EntityDefinition<'a>
fn clone(&self) -> EntityDefinition<'a>
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<'a> Debug for EntityDefinition<'a>
impl<'a> Debug for EntityDefinition<'a>
source§impl<'a> Hash for EntityDefinition<'a>
impl<'a> Hash for EntityDefinition<'a>
source§impl<'a> PartialEq for EntityDefinition<'a>
impl<'a> PartialEq for EntityDefinition<'a>
impl<'a> Copy for EntityDefinition<'a>
impl<'a> Eq for EntityDefinition<'a>
impl<'a> StructuralPartialEq for EntityDefinition<'a>
Auto Trait Implementations§
impl<'a> Freeze for EntityDefinition<'a>
impl<'a> RefUnwindSafe for EntityDefinition<'a>
impl<'a> Send for EntityDefinition<'a>
impl<'a> Sync for EntityDefinition<'a>
impl<'a> Unpin for EntityDefinition<'a>
impl<'a> UnwindSafe for EntityDefinition<'a>
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
)