#[non_exhaustive]pub enum WebCaptureSource {
Html,
Url,
Unknown(String),
}Expand description
Choices for source.
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.
Implementations§
Trait Implementations§
Source§impl Clone for WebCaptureSource
impl Clone for WebCaptureSource
Source§impl Debug for WebCaptureSource
impl Debug for WebCaptureSource
Source§impl Default for WebCaptureSource
impl Default for WebCaptureSource
Source§impl<'de> Deserialize<'de> for WebCaptureSource
impl<'de> Deserialize<'de> for WebCaptureSource
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for WebCaptureSource
impl Display for WebCaptureSource
impl Eq for WebCaptureSource
Source§impl From<&str> for WebCaptureSource
impl From<&str> for WebCaptureSource
Source§impl From<String> for WebCaptureSource
impl From<String> for WebCaptureSource
Source§impl FromStr for WebCaptureSource
impl FromStr for WebCaptureSource
Source§impl Hash for WebCaptureSource
impl Hash for WebCaptureSource
Source§impl Ord for WebCaptureSource
impl Ord for WebCaptureSource
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WebCaptureSource
impl PartialEq for WebCaptureSource
Source§impl PartialOrd for WebCaptureSource
impl PartialOrd for WebCaptureSource
Source§impl Serialize for WebCaptureSource
impl Serialize for WebCaptureSource
impl StructuralPartialEq for WebCaptureSource
Auto Trait Implementations§
impl Forget for WebCaptureSource
impl Freeze for WebCaptureSource
impl Move for WebCaptureSource
impl RefUnwindSafe for WebCaptureSource
impl Send for WebCaptureSource
impl Sync for WebCaptureSource
impl Unpin for WebCaptureSource
impl UnsafeUnpin for WebCaptureSource
impl UnwindSafe for WebCaptureSource
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.