pub struct ArgumentSpec {
pub modifiers: Modifiers,
pub ty: Type,
pub name: String,
pub annotations: Vec<AnnotationSpec>,
}Fields§
§modifiers: Modifiers§ty: Type§name: String§annotations: Vec<AnnotationSpec>Implementations§
Source§impl ArgumentSpec
impl ArgumentSpec
pub fn new<I>(modifiers: Modifiers, ty: I, name: &str) -> ArgumentSpec
pub fn push_annotation(&mut self, annotation: &AnnotationSpec)
Trait Implementations§
Source§impl Clone for ArgumentSpec
impl Clone for ArgumentSpec
Source§fn clone(&self) -> ArgumentSpec
fn clone(&self) -> ArgumentSpec
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 ArgumentSpec
impl Debug for ArgumentSpec
Source§impl From<ArgumentSpec> for Statement
impl From<ArgumentSpec> for Statement
Source§fn from(value: ArgumentSpec) -> Statement
fn from(value: ArgumentSpec) -> Statement
Converts to this type from the input type.
Source§impl From<ArgumentSpec> for Variable
impl From<ArgumentSpec> for Variable
Source§fn from(value: ArgumentSpec) -> Variable
fn from(value: ArgumentSpec) -> Variable
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ArgumentSpec
impl RefUnwindSafe for ArgumentSpec
impl Send for ArgumentSpec
impl Sync for ArgumentSpec
impl Unpin for ArgumentSpec
impl UnwindSafe for ArgumentSpec
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