pub struct TypeReferenceFunctionParameter {
pub decorators: Vec<Decorator>,
pub name: Option<WithComment<VariableField<VariableFieldInTypeReference>>>,
pub type_reference: TypeReference,
}Fields§
§decorators: Vec<Decorator>§name: Option<WithComment<VariableField<VariableFieldInTypeReference>>>Ooh nice optional
type_reference: TypeReferenceImplementations§
source§impl TypeReferenceFunctionParameter
impl TypeReferenceFunctionParameter
pub fn get_position(&self) -> Cow<'_, Span>
Trait Implementations§
source§impl Clone for TypeReferenceFunctionParameter
impl Clone for TypeReferenceFunctionParameter
source§fn clone(&self) -> TypeReferenceFunctionParameter
fn clone(&self) -> TypeReferenceFunctionParameter
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<TypeReferenceFunctionParameter> for TypeReferenceFunctionParameter
impl PartialEq<TypeReferenceFunctionParameter> for TypeReferenceFunctionParameter
source§fn eq(&self, other: &TypeReferenceFunctionParameter) -> bool
fn eq(&self, other: &TypeReferenceFunctionParameter) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl SelfRustTokenize for TypeReferenceFunctionParameter
impl SelfRustTokenize for TypeReferenceFunctionParameter
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