Struct css_inline::DefaultStylesheetResolver
source · pub struct DefaultStylesheetResolver;
Expand description
Default stylesheet resolver.
Trait Implementations§
source§impl Debug for DefaultStylesheetResolver
impl Debug for DefaultStylesheetResolver
source§impl Default for DefaultStylesheetResolver
impl Default for DefaultStylesheetResolver
source§fn default() -> DefaultStylesheetResolver
fn default() -> DefaultStylesheetResolver
Returns the “default value” for a type. Read more
source§impl StylesheetResolver for DefaultStylesheetResolver
impl StylesheetResolver for DefaultStylesheetResolver
source§fn retrieve_from_url(&self, url: &str) -> Result<String>
fn retrieve_from_url(&self, url: &str) -> Result<String>
Retrieve a stylesheet from a network location. Read more
source§fn retrieve(&self, location: &str) -> Result<String>
fn retrieve(&self, location: &str) -> Result<String>
Retrieve a stylesheet from a network or local filesystem location. Read more
source§fn retrieve_from_path(&self, path: &str) -> Result<String>
fn retrieve_from_path(&self, path: &str) -> Result<String>
Retrieve a stylesheet from the local filesystem. Read more
source§fn unsupported(&self, reason: &str) -> InlineError
fn unsupported(&self, reason: &str) -> InlineError
Return the “Unsupported” kind of error.
Auto Trait Implementations§
impl Freeze for DefaultStylesheetResolver
impl RefUnwindSafe for DefaultStylesheetResolver
impl Send for DefaultStylesheetResolver
impl Sync for DefaultStylesheetResolver
impl Unpin for DefaultStylesheetResolver
impl UnwindSafe for DefaultStylesheetResolver
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more