pub struct Modifier {
pub name: SolPath,
pub paren_token: Option<Paren>,
pub arguments: Punctuated<Expr, Comma>,
}
Expand description
A modifier invocation, or an inheritance specifier.
Fields§
§name: SolPath
§paren_token: Option<Paren>
§arguments: Punctuated<Expr, Comma>
Trait Implementations§
Source§impl Spanned for Modifier
impl Spanned for Modifier
Source§fn span(&self) -> Span
fn span(&self) -> Span
Returns a
Span
covering the complete contents of this syntax tree
node, or Span::call_site()
if this node is empty.impl Eq for Modifier
Auto Trait Implementations§
impl Freeze for Modifier
impl RefUnwindSafe for Modifier
impl !Send for Modifier
impl !Sync for Modifier
impl Unpin for Modifier
impl UnwindSafe for Modifier
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