pub enum MediaResolution {
infinite,
finite(CalculablePropertyValue<ResolutionUnit<CssSignedNumber>>),
}Expand description
A resolution.
Variants§
infinite
finite(CalculablePropertyValue<ResolutionUnit<CssSignedNumber>>)
Trait Implementations§
Source§impl Clone for MediaResolution
impl Clone for MediaResolution
Source§fn clone(&self) -> MediaResolution
fn clone(&self) -> MediaResolution
Returns a duplicate of the value. Read more
1.0.0 · 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 MediaResolution
impl Debug for MediaResolution
Source§impl PartialEq for MediaResolution
impl PartialEq for MediaResolution
Source§impl ToCss for MediaResolution
impl ToCss for MediaResolution
impl StructuralPartialEq for MediaResolution
Auto Trait Implementations§
impl Freeze for MediaResolution
impl RefUnwindSafe for MediaResolution
impl !Send for MediaResolution
impl !Sync for MediaResolution
impl Unpin for MediaResolution
impl UnwindSafe for MediaResolution
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