pub struct StyleRule {
pub matcher: StyleMatcher,
pub style: FileStyle,
}Expand description
A single style rule (matcher + style).
Fields§
§matcher: StyleMatcherMatching predicate.
style: FileStyleStyle to apply.
Trait Implementations§
impl StructuralPartialEq for StyleRule
Auto Trait Implementations§
impl Freeze for StyleRule
impl RefUnwindSafe for StyleRule
impl Send for StyleRule
impl Sync for StyleRule
impl Unpin for StyleRule
impl UnsafeUnpin for StyleRule
impl UnwindSafe for StyleRule
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