pub struct TypeAnnotationSpreadFunctionParameter {
pub decorators: Vec<Decorator>,
pub name: String,
pub type_annotation: TypeAnnotation,
pub position: Span,
}
Fields§
§decorators: Vec<Decorator>
§name: String
§type_annotation: TypeAnnotation
§position: Span
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 for TypeAnnotationSpreadFunctionParameter
impl PartialEq for TypeAnnotationSpreadFunctionParameter
Source§fn eq(&self, other: &TypeAnnotationSpreadFunctionParameter) -> bool
fn eq(&self, other: &TypeAnnotationSpreadFunctionParameter) -> bool
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 StructuralPartialEq for TypeAnnotationSpreadFunctionParameter
Auto Trait Implementations§
impl Freeze for TypeAnnotationSpreadFunctionParameter
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