pub struct EntityDecl {
pub name: String,
pub parameter: bool,
pub value: Option<String>,
pub public_id: Option<String>,
pub system_id: Option<String>,
pub notation: Option<String>,
pub span: Span,
}Expand description
An entity the internal subset declared.
Fields§
§name: String§parameter: boolA parameter entity (<!ENTITY % name ...>), for use in the DTD.
value: Option<String>An internal entity’s replacement text.
public_id: Option<String>§system_id: Option<String>An external entity’s address. Parsec never reads it.
notation: Option<String>An unparsed entity’s notation (NDATA).
span: SpanTrait Implementations§
Source§impl Clone for EntityDecl
impl Clone for EntityDecl
Source§impl Debug for EntityDecl
impl Debug for EntityDecl
impl Eq for EntityDecl
Source§impl PartialEq for EntityDecl
impl PartialEq for EntityDecl
impl StructuralPartialEq for EntityDecl
Auto Trait Implementations§
impl Forget for EntityDecl
impl Freeze for EntityDecl
impl Move for EntityDecl
impl RefUnwindSafe for EntityDecl
impl Send for EntityDeclwhere
RawVecInner: Send,
impl Sync for EntityDeclwhere
RawVecInner: Sync,
impl Unpin for EntityDecl
impl UnsafeUnpin for EntityDecl
impl UnwindSafe for EntityDeclwhere
RawVecInner: UnwindSafe,
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