Struct style::media_queries::MediaType [] [src]

pub struct MediaType(pub CustomIdent);

https://drafts.csswg.org/mediaqueries/#media-types

Methods

impl MediaType
[src]

[src]

The screen media type.

[src]

The print media type.

Trait Implementations

impl Clone for MediaType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for MediaType
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for MediaType
[src]

impl PartialEq for MediaType
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl MallocSizeOf for MediaType
[src]

[src]

Measure the heap usage of all descendant heap-allocated structures, but not the space taken up by the value itself. Read more