Enum hyper::header::MediaDesc
[−]
[src]
pub enum MediaDesc { Screen, Tty, Tv, Projection, Handheld, Print, Braille, Aural, All, Extension(String), }
A Media Descriptors Enum based on: https://www.w3.org/TR/html401/types.html#h-6.13
Variants
Screen
screen.
Tty
tty.
Tv
tv.
Projection
projection.
Handheld
handheld.
Print
print.
Braille
braille.
Aural
aural.
All
all.
Extension(String)
Unrecognized media descriptor extension.
Trait Implementations
impl Clone for MediaDesc
[src]
fn clone(&self) -> MediaDesc
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for MediaDesc
[src]
fn eq(&self, __arg_0: &MediaDesc) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MediaDesc) -> bool
[src]
This method tests for !=
.
impl Debug for MediaDesc
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Display for MediaDesc
[src]
fn fmt(&self, f: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more