pub enum AstAnnotationArg {
Identifier(String),
Int(i64),
Bool(bool),
String(String),
NamedValue {
name: String,
value: AstLiteralValue,
},
}Variants§
Trait Implementations§
Source§impl Clone for AstAnnotationArg
impl Clone for AstAnnotationArg
Source§fn clone(&self) -> AstAnnotationArg
fn clone(&self) -> AstAnnotationArg
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 AstAnnotationArg
impl Debug for AstAnnotationArg
Source§impl PartialEq for AstAnnotationArg
impl PartialEq for AstAnnotationArg
impl StructuralPartialEq for AstAnnotationArg
Auto Trait Implementations§
impl Freeze for AstAnnotationArg
impl RefUnwindSafe for AstAnnotationArg
impl Send for AstAnnotationArg
impl Sync for AstAnnotationArg
impl Unpin for AstAnnotationArg
impl UnsafeUnpin for AstAnnotationArg
impl UnwindSafe for AstAnnotationArg
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