pub struct FunctionTypeData {
pub type_parameters: Option<NodeList>,
pub parameters: NodeList,
pub type_annotation: NodeIndex,
pub is_abstract: bool,
}Expand description
Data for type nodes (function type, constructor type)
Fields§
§type_parameters: Option<NodeList>§parameters: NodeList§type_annotation: NodeIndex§is_abstract: boolTrue if this is an abstract constructor type: abstract new () => T
Trait Implementations§
Source§impl Clone for FunctionTypeData
impl Clone for FunctionTypeData
Source§fn clone(&self) -> FunctionTypeData
fn clone(&self) -> FunctionTypeData
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 FunctionTypeData
impl Debug for FunctionTypeData
Source§impl<'de> Deserialize<'de> for FunctionTypeData
impl<'de> Deserialize<'de> for FunctionTypeData
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 FunctionTypeData
impl RefUnwindSafe for FunctionTypeData
impl Send for FunctionTypeData
impl Sync for FunctionTypeData
impl Unpin for FunctionTypeData
impl UnsafeUnpin for FunctionTypeData
impl UnwindSafe for FunctionTypeData
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