pub struct AnnotationArg {
pub text: String,
pub span: Option<Span>,
}Fields§
§text: String§span: Option<Span>Trait 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 moreSource§impl Debug for AnnotationArg
impl Debug for AnnotationArg
Source§impl<'de> Deserialize<'de> for AnnotationArg
impl<'de> Deserialize<'de> for AnnotationArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AnnotationArg
impl PartialEq for AnnotationArg
Source§impl Serialize for AnnotationArg
impl Serialize for AnnotationArg
impl StructuralPartialEq 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