pub struct TypeParameterData {
pub modifiers: Option<NodeList>,
pub name: NodeIndex,
pub constraint: NodeIndex,
pub default: NodeIndex,
}Expand description
Data for type parameter declarations
Fields§
§modifiers: Option<NodeList>§name: NodeIndex§constraint: NodeIndex§default: NodeIndexTrait Implementations§
Source§impl Clone for TypeParameterData
impl Clone for TypeParameterData
Source§fn clone(&self) -> TypeParameterData
fn clone(&self) -> TypeParameterData
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 TypeParameterData
impl Debug for TypeParameterData
Source§impl<'de> Deserialize<'de> for TypeParameterData
impl<'de> Deserialize<'de> for TypeParameterData
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 TypeParameterData
impl RefUnwindSafe for TypeParameterData
impl Send for TypeParameterData
impl Sync for TypeParameterData
impl Unpin for TypeParameterData
impl UnsafeUnpin for TypeParameterData
impl UnwindSafe for TypeParameterData
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