pub struct Annotation {
pub name: String,
pub args: Vec<AnnotationArg>,
pub span: Span,
}Expand description
A source annotation retained for tooling and provenance.
Fields§
§name: String§args: Vec<AnnotationArg>§span: SpanTrait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnsafeUnpin for Annotation
impl UnwindSafe for Annotation
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