pub struct TypeAnnotationSpreadFunctionParameter {
pub decorators: Vec<Decorator>,
pub spread_position: Span,
pub name: String,
pub type_annotation: TypeAnnotation,
}
Fields§
§decorators: Vec<Decorator>
§spread_position: Span
§name: String
§type_annotation: TypeAnnotation
Trait Implementations§
source§impl Clone for TypeAnnotationSpreadFunctionParameter
impl Clone for TypeAnnotationSpreadFunctionParameter
source§fn clone(&self) -> TypeAnnotationSpreadFunctionParameter
fn clone(&self) -> TypeAnnotationSpreadFunctionParameter
Returns a copy 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 PartialEq<TypeAnnotationSpreadFunctionParameter> for TypeAnnotationSpreadFunctionParameter
impl PartialEq<TypeAnnotationSpreadFunctionParameter> for TypeAnnotationSpreadFunctionParameter
source§fn eq(&self, other: &TypeAnnotationSpreadFunctionParameter) -> bool
fn eq(&self, other: &TypeAnnotationSpreadFunctionParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for TypeAnnotationSpreadFunctionParameter
impl SelfRustTokenize for TypeAnnotationSpreadFunctionParameter
fn append_to_token_stream(&self, token_stream: &mut TokenStream)
source§fn to_tokens(&self) -> TokenStream
fn to_tokens(&self) -> TokenStream
Returns the tokens used to construct self
impl Eq for TypeAnnotationSpreadFunctionParameter
impl StructuralEq for TypeAnnotationSpreadFunctionParameter
impl StructuralPartialEq for TypeAnnotationSpreadFunctionParameter
Auto Trait Implementations§
impl RefUnwindSafe for TypeAnnotationSpreadFunctionParameter
impl Send for TypeAnnotationSpreadFunctionParameter
impl Sync for TypeAnnotationSpreadFunctionParameter
impl Unpin for TypeAnnotationSpreadFunctionParameter
impl UnwindSafe for TypeAnnotationSpreadFunctionParameter
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