Enum html5ever::tree_builder::types::InsertionMode
source · pub(crate) enum InsertionMode {
Show 23 variants
Initial,
BeforeHtml,
BeforeHead,
InHead,
InHeadNoscript,
AfterHead,
InBody,
Text,
InTable,
InTableText,
InCaption,
InColumnGroup,
InTableBody,
InRow,
InCell,
InSelect,
InSelectInTable,
InTemplate,
AfterBody,
InFrameset,
AfterFrameset,
AfterAfterBody,
AfterAfterFrameset,
}
Variants§
Initial
BeforeHtml
BeforeHead
InHead
InHeadNoscript
AfterHead
InBody
Text
InTable
InTableText
InCaption
InColumnGroup
InTableBody
InRow
InCell
InSelect
InSelectInTable
InTemplate
AfterBody
InFrameset
AfterFrameset
AfterAfterBody
AfterAfterFrameset
Trait Implementations§
source§impl Clone for InsertionMode
impl Clone for InsertionMode
source§fn clone(&self) -> InsertionMode
fn clone(&self) -> InsertionMode
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 Debug for InsertionMode
impl Debug for InsertionMode
source§impl PartialEq for InsertionMode
impl PartialEq for InsertionMode
source§fn eq(&self, other: &InsertionMode) -> bool
fn eq(&self, other: &InsertionMode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for InsertionMode
impl Eq for InsertionMode
impl StructuralPartialEq for InsertionMode
Auto Trait Implementations§
impl Freeze for InsertionMode
impl RefUnwindSafe for InsertionMode
impl Send for InsertionMode
impl Sync for InsertionMode
impl Unpin for InsertionMode
impl UnwindSafe for InsertionMode
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