pub struct AstAnnotation {
pub name: String,
pub args: Vec<AstAnnotationArg>,
pub span: Option<Span>,
}Fields§
§name: String§args: Vec<AstAnnotationArg>§span: Option<Span>Trait Implementations§
Source§impl Clone for AstAnnotation
impl Clone for AstAnnotation
Source§fn clone(&self) -> AstAnnotation
fn clone(&self) -> AstAnnotation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AstAnnotation
impl Debug for AstAnnotation
Source§impl PartialEq for AstAnnotation
impl PartialEq for AstAnnotation
impl StructuralPartialEq for AstAnnotation
Auto Trait Implementations§
impl Freeze for AstAnnotation
impl RefUnwindSafe for AstAnnotation
impl Send for AstAnnotation
impl Sync for AstAnnotation
impl Unpin for AstAnnotation
impl UnsafeUnpin for AstAnnotation
impl UnwindSafe for AstAnnotation
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