#[non_exhaustive]pub enum MetaAttribute {
Name,
Property,
HttpEquiv,
}Expand description
Which attribute carries a meta tag’s identifier.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Name
<meta name="…">: the HTML default, used by Twitter cards too.
Property
<meta property="…">: what the Open Graph protocol requires.
HttpEquiv
<meta http-equiv="…">.
Implementations§
Trait Implementations§
Source§impl Clone for MetaAttribute
impl Clone for MetaAttribute
impl Copy for MetaAttribute
Source§impl Debug for MetaAttribute
impl Debug for MetaAttribute
impl Eq for MetaAttribute
Source§impl Hash for MetaAttribute
impl Hash for MetaAttribute
Source§impl PartialEq for MetaAttribute
impl PartialEq for MetaAttribute
impl StructuralPartialEq for MetaAttribute
Auto Trait Implementations§
impl Freeze for MetaAttribute
impl RefUnwindSafe for MetaAttribute
impl Send for MetaAttribute
impl Sync for MetaAttribute
impl Unpin for MetaAttribute
impl UnsafeUnpin for MetaAttribute
impl UnwindSafe for MetaAttribute
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.