pub struct AnnotationArg {
pub text: String,
pub span: Span,
}Expand description
One raw annotation argument. Values such as heroes, teams, and slots stay opaque here because their canonical domains belong to workshop-rs.
Fields§
§text: String§span: SpanTrait Implementations§
Source§impl Clone for AnnotationArg
impl Clone for AnnotationArg
Auto Trait Implementations§
impl Freeze for AnnotationArg
impl RefUnwindSafe for AnnotationArg
impl Send for AnnotationArg
impl Sync for AnnotationArg
impl Unpin for AnnotationArg
impl UnsafeUnpin for AnnotationArg
impl UnwindSafe for AnnotationArg
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