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