Enum content_blocker::ResourceType [] [src]

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

The type of resource being requested.

Variants

A top-level document.

An image subresource.

A CSS stylesheet subresource.

A JavaScript subresource.

A web font.

An uncategorized request (eg. XMLHttpRequest).

An SVG document.

A media resource.

A popup resource.

Trait Implementations

impl Copy for ResourceType
[src]

impl Clone for ResourceType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ResourceType
[src]

Formats the value using the given formatter.

impl PartialEq for ResourceType
[src]

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

This method tests for !=.