pub enum ElementVariant {
Normal,
Void,
}
Expand description
Normal: <div></div>
or Void: <meta/>
and <meta>
Variants§
Trait Implementations§
Source§impl Clone for ElementVariant
impl Clone for ElementVariant
Source§fn clone(&self) -> ElementVariant
fn clone(&self) -> ElementVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ElementVariant
impl Debug for ElementVariant
Source§impl PartialEq for ElementVariant
impl PartialEq for ElementVariant
Source§impl Serialize for ElementVariant
impl Serialize for ElementVariant
impl StructuralPartialEq for ElementVariant
Auto Trait Implementations§
impl Freeze for ElementVariant
impl RefUnwindSafe for ElementVariant
impl Send for ElementVariant
impl Sync for ElementVariant
impl Unpin for ElementVariant
impl UnwindSafe for ElementVariant
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