pub struct TypeArgument {
pub name: Ident,
pub type_: Type,
pub default_value: Option<Expression>,
pub span: Span,
}
Fields§
§name: Ident
§type_: Type
§default_value: Option<Expression>
§span: Span
Trait Implementations§
Source§impl Clone for TypeArgument
impl Clone for TypeArgument
Source§fn clone(&self) -> TypeArgument
fn clone(&self) -> TypeArgument
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<'de> Deserialize<'de> for TypeArgument
impl<'de> Deserialize<'de> for TypeArgument
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
Auto Trait Implementations§
impl Freeze for TypeArgument
impl RefUnwindSafe for TypeArgument
impl Send for TypeArgument
impl Sync for TypeArgument
impl Unpin for TypeArgument
impl UnwindSafe for TypeArgument
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