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
§type Name = WithComment<PropertyKey<AlwaysPublic>>
type Name = WithComment<PropertyKey<AlwaysPublic>>
A name of the function
fn header_and_name_from_reader( reader: &mut impl TokenReader<TSXToken, Span>, state: &mut ParsingState, settings: &ParseOptions ) -> ParseResult<(Self::Header, Self::Name)>
fn header_and_name_to_string_from_buffer<T: ToString>( buf: &mut T, header: &Self::Header, name: &Self::Name, settings: &ToStringOptions, depth: u8 )
fn header_left(header: &Self::Header) -> Option<Cow<'_, Span>>
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, Span>,
state: &mut ParsingState,
settings: &ParseOptions
) -> ParseResult<FunctionParameters>
fn parameters_from_reader<T: ToString>( reader: &mut impl TokenReader<TSXToken, Span>, state: &mut ParsingState, settings: &ParseOptions ) -> ParseResult<FunctionParameters>
For [crate::ArrowFunction]
source§fn parameters_to_string_from_buffer<T: ToString>(
buf: &mut T,
parameters: &FunctionParameters,
settings: &ToStringOptions,
depth: u8
)
fn parameters_to_string_from_buffer<T: ToString>( buf: &mut T, parameters: &FunctionParameters, settings: &ToStringOptions, depth: u8 )
For [crate::ArrowFunction]
source§fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>(
buf: &mut T,
settings: &ToStringOptions
)
fn parameter_body_boundary_token_to_string_from_buffer<T: ToString>( buf: &mut T, settings: &ToStringOptions )
For [crate::ArrowFunction]
source§impl Hash for ObjectLiteralMethodBase
impl Hash for ObjectLiteralMethodBase
source§impl PartialEq<ObjectLiteralMethodBase> for ObjectLiteralMethodBase
impl PartialEq<ObjectLiteralMethodBase> for ObjectLiteralMethodBase
source§fn eq(&self, other: &ObjectLiteralMethodBase) -> bool
fn eq(&self, other: &ObjectLiteralMethodBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ObjectLiteralMethodBase
impl StructuralEq for ObjectLiteralMethodBase
impl StructuralPartialEq for ObjectLiteralMethodBase
Auto Trait Implementations§
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