pub struct Stylesheet<'a> {
pub rules: Vec<Rule<'a>>,
pub loc: SourceLocation,
}Expand description
A parsed CSS stylesheet.
Fields§
§rules: Vec<Rule<'a>>§loc: SourceLocationTrait Implementations§
Source§impl<'a> Clone for Stylesheet<'a>
impl<'a> Clone for Stylesheet<'a>
Source§fn clone(&self) -> Stylesheet<'a>
fn clone(&self) -> Stylesheet<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for Stylesheet<'a>
impl<'a> RefUnwindSafe for Stylesheet<'a>
impl<'a> Send for Stylesheet<'a>
impl<'a> Sync for Stylesheet<'a>
impl<'a> Unpin for Stylesheet<'a>
impl<'a> UnsafeUnpin for Stylesheet<'a>
impl<'a> UnwindSafe for Stylesheet<'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