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
Source§fn clone(&self) -> AnnotationArg
fn clone(&self) -> AnnotationArg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto 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