pub struct CssParseContext<'a> {
pub css_text: &'a str,
pub full_text: &'a str,
pub uri: &'a Url,
pub manager: &'a CssVariableManager,
pub base_offset: usize,
pub inline: bool,
pub usage_context_override: Option<&'a str>,
pub dom_node: Option<DOMNodeInfo>,
}Expand description
Configuration for parsing CSS snippets
Fields§
§css_text: &'a str§full_text: &'a str§uri: &'a Url§manager: &'a CssVariableManager§base_offset: usize§inline: bool§usage_context_override: Option<&'a str>§dom_node: Option<DOMNodeInfo>Auto Trait Implementations§
impl<'a> Freeze for CssParseContext<'a>
impl<'a> !RefUnwindSafe for CssParseContext<'a>
impl<'a> Send for CssParseContext<'a>
impl<'a> Sync for CssParseContext<'a>
impl<'a> Unpin for CssParseContext<'a>
impl<'a> !UnwindSafe for CssParseContext<'a>
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