pub struct GenericTypeParam {
pub name: String,
pub domain: Vec<Ty>,
}
Fields§
§name: String
Assigned name of this generic type argument.
domain: Vec<Ty>
Possible values of this type argument. For a given instance of this function, the argument must be exactly one of types in the domain.
Trait Implementations§
Source§impl Clone for GenericTypeParam
impl Clone for GenericTypeParam
Source§fn clone(&self) -> GenericTypeParam
fn clone(&self) -> GenericTypeParam
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 GenericTypeParam
impl Debug for GenericTypeParam
Source§impl<'de> Deserialize<'de> for GenericTypeParam
impl<'de> Deserialize<'de> for GenericTypeParam
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
Source§impl PartialEq for GenericTypeParam
impl PartialEq for GenericTypeParam
Source§impl Serialize for GenericTypeParam
impl Serialize for GenericTypeParam
impl StructuralPartialEq for GenericTypeParam
Auto Trait Implementations§
impl Freeze for GenericTypeParam
impl RefUnwindSafe for GenericTypeParam
impl Send for GenericTypeParam
impl Sync for GenericTypeParam
impl Unpin for GenericTypeParam
impl UnwindSafe for GenericTypeParam
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