pub struct AstStyle<'a> {
pub important: bool,
pub negative: bool,
pub variants: Vec<ASTVariant<'a>>,
pub elements: Vec<&'a str>,
pub arbitrary: Option<&'a str>,
}
Expand description
not-variant:pseudo::-ast-element-[arbitrary]
Fields§
§important: bool
Is a !important
style
negative: bool
Is a negative style
variants: Vec<ASTVariant<'a>>
§elements: Vec<&'a str>
§arbitrary: Option<&'a str>
Is a arbitrary value
Implementations§
Trait Implementations§
Source§impl<'a> AddAssign<&AstStyle<'a>> for AstStyle<'a>
impl<'a> AddAssign<&AstStyle<'a>> for AstStyle<'a>
Source§fn add_assign(&mut self, rhs: &AstStyle<'a>)
fn add_assign(&mut self, rhs: &AstStyle<'a>)
Performs the
+=
operation. Read moreimpl<'a> StructuralPartialEq for AstStyle<'a>
Auto Trait Implementations§
impl<'a> Freeze for AstStyle<'a>
impl<'a> RefUnwindSafe for AstStyle<'a>
impl<'a> Send for AstStyle<'a>
impl<'a> Sync for AstStyle<'a>
impl<'a> Unpin for AstStyle<'a>
impl<'a> UnwindSafe for AstStyle<'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