pub struct ContentSpecValidationContext { /* private fields */ }Implementations§
Source§impl ContentSpecValidationContext
impl ContentSpecValidationContext
pub fn push_name(&mut self, name: &str)
pub fn push_pcdata(&mut self)
pub fn push_whitespaces(&mut self)
Sourcepub fn push_misc(&mut self)
pub fn push_misc(&mut self)
In element content validation, it can be treated almost the same as whitespace.
However, in standalone document validation, whitespace and other Miscs are treated differently.
pub fn finish(&mut self) -> bool
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContentSpecValidationContext
impl RefUnwindSafe for ContentSpecValidationContext
impl Send for ContentSpecValidationContext
impl Sync for ContentSpecValidationContext
impl Unpin for ContentSpecValidationContext
impl UnwindSafe for ContentSpecValidationContext
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