Enum content_blocker::ResourceType [] [src]

pub enum ResourceType {
    Document,
    Image,
    StyleSheet,
    Script,
    Font,
    Raw,
    SVGDocument,
    Media,
    Popup,
}

The type of resource being requested.

Variants

Document

A top-level document.

Image

An image subresource.

StyleSheet

A CSS stylesheet subresource.

Script

A JavaScript subresource.

Font

A web font.

Raw

An uncategorized request (eg. XMLHttpRequest).

SVGDocument

An SVG document.

Media

A media resource.

Popup

A popup resource.

Trait Implementations

impl PartialEq for ResourceType
[src]

fn eq(&self, __arg_0: &ResourceType) -> bool

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

fn ne(&self, other: &Rhs) -> bool
1.0.0

This method tests for !=.

impl Debug for ResourceType
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Clone for ResourceType
[src]

fn clone(&self) -> ResourceType

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 Copy for ResourceType
[src]