pub struct ClassFunctionBase;
Trait Implementations§
Source§impl Clone for ClassFunctionBase
impl Clone for ClassFunctionBase
Source§fn clone(&self) -> ClassFunctionBase
fn clone(&self) -> ClassFunctionBase
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 Debug for ClassFunctionBase
impl Debug for ClassFunctionBase
Source§impl FunctionBased for ClassFunctionBase
impl FunctionBased for ClassFunctionBase
Source§type Header = MethodHeader
type Header = MethodHeader
Includes a keyword and/or modifiers
Source§type Name = WithComment<PropertyKey<PublicOrPrivate>>
type Name = WithComment<PropertyKey<PublicOrPrivate>>
A name of the function
Source§type LeadingParameter = (Option<ThisParameter>, Option<SuperParameter>)
type LeadingParameter = (Option<ThisParameter>, Option<SuperParameter>)
Cfg to make up for the fact
serde_derive
does not use syn_helpers
Source§type ParameterVisibility = ()
type ParameterVisibility = ()
Cfg to make up for the fact
serde_derive
does not use syn_helpers
Source§type Body = FunctionBody
type Body = FunctionBody
The body of the function
fn header_and_name_from_reader( reader: &mut impl TokenReader<TSXToken, TokenStart>, state: &mut ParsingState, options: &ParseOptions, ) -> ParseResult<(HeadingAndPosition<Self>, Self::Name)>
fn header_and_name_to_string_from_buffer<T: ToString>( buf: &mut T, header: &Self::Header, name: &Self::Name, options: &ToStringOptions, local: LocalToStringInformation, )
fn visit_name<TData>( name: &Self::Name, visitors: &mut (impl VisitorReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
fn visit_name_mut<TData>( name: &mut Self::Name, visitors: &mut (impl VisitorMutReceiver<TData> + ?Sized), data: &mut TData, options: &VisitOptions, chain: &mut Annex<'_, Chain>, )
Source§fn get_parameter_body_boundary_token() -> Option<TSXToken>
fn get_parameter_body_boundary_token() -> Option<TSXToken>
For [
crate::ArrowFunction
]Source§fn parameters_from_reader<T: ToString>(
reader: &mut impl TokenReader<TSXToken, TokenStart>,
state: &mut ParsingState,
options: &ParseOptions,
) -> ParseResult<FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>>
fn parameters_from_reader<T: ToString>( reader: &mut impl TokenReader<TSXToken, TokenStart>, state: &mut ParsingState, options: &ParseOptions, ) -> ParseResult<FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>>
For [
crate::ArrowFunction
]Source§fn parameters_to_string_from_buffer<T: ToString>(
buf: &mut T,
parameters: &FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>,
options: &ToStringOptions,
local: LocalToStringInformation,
)
fn parameters_to_string_from_buffer<T: ToString>( buf: &mut T, parameters: &FunctionParameters<Self::LeadingParameter, Self::ParameterVisibility>, options: &ToStringOptions, local: LocalToStringInformation, )
For [
crate::ArrowFunction
]Source§fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>(
buf: &mut T,
options: &ToStringOptions,
)
fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>( buf: &mut T, options: &ToStringOptions, )
For [
crate::ArrowFunction
]Source§impl Hash for ClassFunctionBase
impl Hash for ClassFunctionBase
Source§impl PartialEq for ClassFunctionBase
impl PartialEq for ClassFunctionBase
impl Eq for ClassFunctionBase
impl StructuralPartialEq for ClassFunctionBase
Auto Trait Implementations§
impl Freeze for ClassFunctionBase
impl RefUnwindSafe for ClassFunctionBase
impl Send for ClassFunctionBase
impl Sync for ClassFunctionBase
impl Unpin for ClassFunctionBase
impl UnwindSafe for ClassFunctionBase
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