#[non_exhaustive]pub enum MediaInParens {
Condition(Box<MediaCondition>),
Feature(MediaFeature),
GeneralEnclosed(GeneralEnclosed),
}Expand description
<media-in-parens> = ( <media-condition> ) | ( <media-feature> ) | <general-enclosed>
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.
Condition(Box<MediaCondition>)
( <media-condition> )
Feature(MediaFeature)
( <media-feature> )
GeneralEnclosed(GeneralEnclosed)
<general-enclosed>, the forward-compatibility fallback (see
GeneralEnclosed).
Trait Implementations§
Source§impl Clone for MediaInParens
impl Clone for MediaInParens
Source§fn clone(&self) -> MediaInParens
fn clone(&self) -> MediaInParens
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 MediaInParens
impl Debug for MediaInParens
Source§impl PartialEq for MediaInParens
impl PartialEq for MediaInParens
impl StructuralPartialEq for MediaInParens
Auto Trait Implementations§
impl Freeze for MediaInParens
impl RefUnwindSafe for MediaInParens
impl Send for MediaInParens
impl Sync for MediaInParens
impl Unpin for MediaInParens
impl UnsafeUnpin for MediaInParens
impl UnwindSafe for MediaInParens
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