pub struct TypeArgument {
pub name: String,
pub type_: Type,
pub default_value: Option<Expression>,
pub can_resolve_auto: bool,
}Fields§
§name: String§type_: Type§default_value: Option<Expression>§can_resolve_auto: boolTrait 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 moreAuto 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