Struct ezno_parser::declarations::classes::ClassConstructorBase
source · pub struct ClassConstructorBase;
Trait Implementations§
source§impl Clone for ClassConstructorBase
impl Clone for ClassConstructorBase
source§fn clone(&self) -> ClassConstructorBase
fn clone(&self) -> ClassConstructorBase
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 ClassConstructorBase
impl Debug for ClassConstructorBase
source§impl FunctionBased for ClassConstructorBase
impl FunctionBased for ClassConstructorBase
§type Header = Keyword<Constructor>
type Header = Keyword<Constructor>
Includes a keyword and/or modifiers
fn header_and_name_from_reader( reader: &mut impl TokenReader<TSXToken, TokenStart>, _state: &mut ParsingState, _options: &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, _options: &ToStringOptions, _depth: u8 )
fn header_left(header: &Self::Header) -> Option<Start>
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>
fn parameters_from_reader<T: ToString>( reader: &mut impl TokenReader<TSXToken, TokenStart>, state: &mut ParsingState, options: &ParseOptions ) -> ParseResult<FunctionParameters>
For [crate::ArrowFunction]
source§fn parameters_to_string_from_buffer<T: ToString>(
buf: &mut T,
parameters: &FunctionParameters,
options: &ToStringOptions,
depth: u8
)
fn parameters_to_string_from_buffer<T: ToString>( buf: &mut T, parameters: &FunctionParameters, options: &ToStringOptions, depth: u8 )
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 ClassConstructorBase
impl Hash for ClassConstructorBase
source§impl PartialEq for ClassConstructorBase
impl PartialEq for ClassConstructorBase
source§fn eq(&self, other: &ClassConstructorBase) -> bool
fn eq(&self, other: &ClassConstructorBase) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ClassConstructorBase
impl StructuralEq for ClassConstructorBase
impl StructuralPartialEq for ClassConstructorBase
Auto Trait Implementations§
impl RefUnwindSafe for ClassConstructorBase
impl Send for ClassConstructorBase
impl Sync for ClassConstructorBase
impl Unpin for ClassConstructorBase
impl UnwindSafe for ClassConstructorBase
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