pub struct RuleDecl {
pub name: Ident,
pub tags: Vec<TagDecl>,
pub description: Option<StringLiteral>,
pub whens: Vec<WhenClause>,
pub body: BlockSource,
pub span: SourceSpan,
}Fields§
§name: Ident§description: Option<StringLiteral>§whens: Vec<WhenClause>§body: BlockSource§span: SourceSpanTrait Implementations§
impl Eq for RuleDecl
impl StructuralPartialEq for RuleDecl
Auto Trait Implementations§
impl Freeze for RuleDecl
impl RefUnwindSafe for RuleDecl
impl Send for RuleDecl
impl Sync for RuleDecl
impl Unpin for RuleDecl
impl UnsafeUnpin for RuleDecl
impl UnwindSafe for RuleDecl
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