pub struct Stylesheet<'a, B = SimpleBlock<'a>> {
pub rules: Vec<Rule<'a, B>>,
pub errors: Vec<ParseError>,
}Expand description
A stylesheet’s rules, and what was dropped while parsing it.
Fields§
§rules: Vec<Rule<'a, B>>§errors: Vec<ParseError>Trait Implementations§
Source§impl<'a, B: Clone> Clone for Stylesheet<'a, B>
impl<'a, B: Clone> Clone for Stylesheet<'a, B>
Source§impl<'a, B: Debug> Debug for Stylesheet<'a, B>
impl<'a, B: Debug> Debug for Stylesheet<'a, B>
Source§impl<B> Default for Stylesheet<'_, B>
impl<B> Default for Stylesheet<'_, B>
Source§impl Display for Stylesheet<'_>
impl Display for Stylesheet<'_>
Source§impl Display for Stylesheet<'_, Block<'_>>
impl Display for Stylesheet<'_, Block<'_>>
Source§impl<'a, B: PartialEq> PartialEq for Stylesheet<'a, B>
impl<'a, B: PartialEq> PartialEq for Stylesheet<'a, B>
impl<'a, B: PartialEq> StructuralPartialEq for Stylesheet<'a, B>
Auto Trait Implementations§
impl<'a, B> Forget for Stylesheet<'a, B>
impl<'a, B> Freeze for Stylesheet<'a, B>
impl<'a, B> Move for Stylesheet<'a, B>
impl<'a, B> RefUnwindSafe for Stylesheet<'a, B>
impl<'a, B> Send for Stylesheet<'a, B>
impl<'a, B> Sync for Stylesheet<'a, B>
impl<'a, B> Unpin for Stylesheet<'a, B>
impl<'a, B> UnsafeUnpin for Stylesheet<'a, B>
impl<'a, B> UnwindSafe for Stylesheet<'a, B>
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