pub enum TwitterCardKind {
Summary,
SummaryLargeImage,
App,
Player,
}Expand description
Twitter card kind label.
Variants§
Summary
Summary card.
SummaryLargeImage
Summary card with a large image.
App
App card.
Player
Player card.
Implementations§
Trait Implementations§
Source§impl Clone for TwitterCardKind
impl Clone for TwitterCardKind
Source§fn clone(&self) -> TwitterCardKind
fn clone(&self) -> TwitterCardKind
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 moreSource§impl Debug for TwitterCardKind
impl Debug for TwitterCardKind
Source§impl Hash for TwitterCardKind
impl Hash for TwitterCardKind
Source§impl Ord for TwitterCardKind
impl Ord for TwitterCardKind
Source§fn cmp(&self, other: &TwitterCardKind) -> Ordering
fn cmp(&self, other: &TwitterCardKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TwitterCardKind
impl PartialEq for TwitterCardKind
Source§fn eq(&self, other: &TwitterCardKind) -> bool
fn eq(&self, other: &TwitterCardKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TwitterCardKind
impl PartialOrd for TwitterCardKind
impl Copy for TwitterCardKind
impl Eq for TwitterCardKind
impl StructuralPartialEq for TwitterCardKind
Auto Trait Implementations§
impl Freeze for TwitterCardKind
impl RefUnwindSafe for TwitterCardKind
impl Send for TwitterCardKind
impl Sync for TwitterCardKind
impl Unpin for TwitterCardKind
impl UnsafeUnpin for TwitterCardKind
impl UnwindSafe for TwitterCardKind
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