pub struct ObjectLiteralMethodBase;
Trait Implementations§
Source§impl Clone for ObjectLiteralMethodBase
impl Clone for ObjectLiteralMethodBase
Source§fn clone(&self) -> ObjectLiteralMethodBase
fn clone(&self) -> ObjectLiteralMethodBase
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 ObjectLiteralMethodBase
impl Debug for ObjectLiteralMethodBase
Source§impl FunctionBased for ObjectLiteralMethodBase
impl FunctionBased for ObjectLiteralMethodBase
Source§type Name = WithComment<PropertyKey<AlwaysPublic>>
type Name = WithComment<PropertyKey<AlwaysPublic>>
A name of the function
Source§type Header = MethodHeader
type Header = MethodHeader
Includes a keyword and/or modifiers
Source§type LeadingParameter = Option<ThisParameter>
type LeadingParameter = Option<ThisParameter>
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
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 ObjectLiteralMethodBase
impl Hash for ObjectLiteralMethodBase
Source§impl PartialEq for ObjectLiteralMethodBase
impl PartialEq for ObjectLiteralMethodBase
impl Eq for ObjectLiteralMethodBase
impl StructuralPartialEq for ObjectLiteralMethodBase
Auto Trait Implementations§
impl Freeze for ObjectLiteralMethodBase
impl RefUnwindSafe for ObjectLiteralMethodBase
impl Send for ObjectLiteralMethodBase
impl Sync for ObjectLiteralMethodBase
impl Unpin for ObjectLiteralMethodBase
impl UnwindSafe for ObjectLiteralMethodBase
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