Enum nom_xml::prolog::internal_subset::EntityDeclaration
source · pub enum EntityDeclaration<'a> {
General(GeneralEntityDeclaration<'a>),
Parameter(ParameterEntityDefinition<'a>),
}Variants§
General(GeneralEntityDeclaration<'a>)
Parameter(ParameterEntityDefinition<'a>)
Trait Implementations§
source§impl<'a> Clone for EntityDeclaration<'a>
impl<'a> Clone for EntityDeclaration<'a>
source§fn clone(&self) -> EntityDeclaration<'a>
fn clone(&self) -> EntityDeclaration<'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> PartialEq<EntityDeclaration<'a>> for EntityDeclaration<'a>
impl<'a> PartialEq<EntityDeclaration<'a>> for EntityDeclaration<'a>
source§fn eq(&self, other: &EntityDeclaration<'a>) -> bool
fn eq(&self, other: &EntityDeclaration<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> StructuralPartialEq for EntityDeclaration<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for EntityDeclaration<'a>
impl<'a> Send for EntityDeclaration<'a>
impl<'a> Sync for EntityDeclaration<'a>
impl<'a> Unpin for EntityDeclaration<'a>
impl<'a> UnwindSafe for EntityDeclaration<'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