pub struct Attribute<'ast> {
pub name: Name<'ast>,
pub args: &'ast [Arg<'ast>],
pub span: Span,
}Fields§
§name: Name<'ast>§args: &'ast [Arg<'ast>]§span: SpanTrait Implementations§
impl<'ast> Copy for Attribute<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for Attribute<'ast>
impl<'ast> RefUnwindSafe for Attribute<'ast>
impl<'ast> Send for Attribute<'ast>
impl<'ast> Sync for Attribute<'ast>
impl<'ast> Unpin for Attribute<'ast>
impl<'ast> UnwindSafe for Attribute<'ast>
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