Enum iron::headers::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
Screenscreen.
Ttytty.
Tvtv.
Projectionprojection.
Handheldhandheld.
Printprint.
Braillebraille.
Auralaural.
Allall.
Extension(String)Unrecognized media descriptor extension.
Trait Implementations
impl Clone for MediaDesc[src]
fn clone(&self) -> MediaDesc
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more
impl Debug for MediaDesc[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl FromStr for MediaDesc[src]
impl Display for MediaDesc[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter. Read more