pub struct TypeReferenceSpreadFunctionParameter {
pub decorators: Vec<Decorator>,
pub spread_position: Span,
pub name: String,
pub type_reference: TypeReference,
}
Fields§
§decorators: Vec<Decorator>
§spread_position: Span
§name: String
§type_reference: TypeReference
Trait Implementations§
source§impl Clone for TypeReferenceSpreadFunctionParameter
impl Clone for TypeReferenceSpreadFunctionParameter
source§fn clone(&self) -> TypeReferenceSpreadFunctionParameter
fn clone(&self) -> TypeReferenceSpreadFunctionParameter
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<TypeReferenceSpreadFunctionParameter> for TypeReferenceSpreadFunctionParameter
impl PartialEq<TypeReferenceSpreadFunctionParameter> for TypeReferenceSpreadFunctionParameter
source§fn eq(&self, other: &TypeReferenceSpreadFunctionParameter) -> bool
fn eq(&self, other: &TypeReferenceSpreadFunctionParameter) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl SelfRustTokenize for TypeReferenceSpreadFunctionParameter
impl SelfRustTokenize for TypeReferenceSpreadFunctionParameter
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