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]
impl Clone for MediaDesc
fn clone(&self) -> MediaDesc
[src]
fn clone(&self) -> MediaDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for MediaDesc
[src]
impl PartialEq for MediaDesc
fn eq(&self, __arg_0: &MediaDesc) -> bool
[src]
fn eq(&self, __arg_0: &MediaDesc) -> bool
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]
fn ne(&self, __arg_0: &MediaDesc) -> bool
This method tests for !=
.
impl Debug for MediaDesc
[src]
impl Debug for MediaDesc
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Display for MediaDesc
[src]
impl Display for MediaDesc
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl FromStr for MediaDesc
[src]
impl FromStr for MediaDesc