pub struct TypeAnnotationWrapper {
pub type_annotation: TypeAnnotation,
}Expand description
Wrapper node the Flow parser emits around type annotations in certain positions (e.g., type parameter bounds, function parameter types).
Fields§
§type_annotation: TypeAnnotationTrait Implementations§
Source§impl Clone for TypeAnnotationWrapper
impl Clone for TypeAnnotationWrapper
Source§fn clone(&self) -> TypeAnnotationWrapper
fn clone(&self) -> TypeAnnotationWrapper
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 TypeAnnotationWrapper
impl Debug for TypeAnnotationWrapper
Source§impl<'de> Deserialize<'de> for TypeAnnotationWrapper
impl<'de> Deserialize<'de> for TypeAnnotationWrapper
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 TypeAnnotationWrapper
impl RefUnwindSafe for TypeAnnotationWrapper
impl Send for TypeAnnotationWrapper
impl Sync for TypeAnnotationWrapper
impl Unpin for TypeAnnotationWrapper
impl UnsafeUnpin for TypeAnnotationWrapper
impl UnwindSafe for TypeAnnotationWrapper
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