pub enum AnnotationArgument<Identifier = String> {
Array(Vec<AnnotationLiteral<Identifier>>),
ArrayNamed(Weak<Array<Identifier>>),
Literal(AnnotationLiteral<Identifier>),
}Expand description
The argument type associated with AnnotationCall
Variants§
Array(Vec<AnnotationLiteral<Identifier>>)
Sequence of Literals
ArrayNamed(Weak<Array<Identifier>>)
Named array of Literals
Literal(AnnotationLiteral<Identifier>)
Singular argument
Trait Implementations§
Source§impl<Identifier: Clone> Clone for AnnotationArgument<Identifier>
impl<Identifier: Clone> Clone for AnnotationArgument<Identifier>
Source§fn clone(&self) -> AnnotationArgument<Identifier>
fn clone(&self) -> AnnotationArgument<Identifier>
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<Identifier: Debug> Debug for AnnotationArgument<Identifier>
impl<Identifier: Debug> Debug for AnnotationArgument<Identifier>
Source§impl<Idenfier: Display> Display for AnnotationArgument<Idenfier>
impl<Idenfier: Display> Display for AnnotationArgument<Idenfier>
Source§impl<Identifier> From<Argument<Identifier>> for AnnotationArgument<Identifier>
impl<Identifier> From<Argument<Identifier>> for AnnotationArgument<Identifier>
Source§impl<Identifier: PartialEq> PartialEq for AnnotationArgument<Identifier>
impl<Identifier: PartialEq> PartialEq for AnnotationArgument<Identifier>
Auto Trait Implementations§
impl<Identifier> Freeze for AnnotationArgument<Identifier>where
Identifier: Freeze,
impl<Identifier> RefUnwindSafe for AnnotationArgument<Identifier>where
Identifier: RefUnwindSafe,
impl<Identifier> Send for AnnotationArgument<Identifier>
impl<Identifier> Sync for AnnotationArgument<Identifier>
impl<Identifier> Unpin for AnnotationArgument<Identifier>where
Identifier: Unpin,
impl<Identifier> UnsafeUnpin for AnnotationArgument<Identifier>where
Identifier: UnsafeUnpin,
impl<Identifier> UnwindSafe for AnnotationArgument<Identifier>where
Identifier: UnwindSafe + RefUnwindSafe,
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