pub struct EntityDecl {
pub name: String,
pub kind: EntityKind,
}Expand description
A general entity declaration.
See XML 1.0 section 4.2.
Fields§
§name: StringThe entity name.
kind: EntityKindThe entity’s value, either internal or external.
Trait Implementations§
Source§impl Clone for EntityDecl
impl Clone for EntityDecl
Source§fn clone(&self) -> EntityDecl
fn clone(&self) -> EntityDecl
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 moreAuto Trait Implementations§
impl Freeze for EntityDecl
impl RefUnwindSafe for EntityDecl
impl Send for EntityDecl
impl Sync for EntityDecl
impl Unpin for EntityDecl
impl UnsafeUnpin for EntityDecl
impl UnwindSafe for EntityDecl
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