pub struct ElementDecl {
pub name: String,
pub content: ContentModel,
}Expand description
An <!ELEMENT name model> declaration.
Fields§
§name: String§content: ContentModelTrait Implementations§
Source§impl Clone for ElementDecl
impl Clone for ElementDecl
Source§fn clone(&self) -> ElementDecl
fn clone(&self) -> ElementDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ElementDecl
impl RefUnwindSafe for ElementDecl
impl Send for ElementDecl
impl Sync for ElementDecl
impl Unpin for ElementDecl
impl UnsafeUnpin for ElementDecl
impl UnwindSafe for ElementDecl
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