pub struct Getter { /* private fields */ }Expand description
Implementations§
Source§impl Getter
 
impl Getter
pub fn decorators(&self) -> AstChildren<TsDecorator> ⓘ
pub fn get_token(&self) -> Option<SyntaxToken>
pub fn key(&self) -> Option<PropName>
pub fn parameters(&self) -> Option<ParameterList>
pub fn body(&self) -> Option<BlockStmt>
Trait Implementations§
Source§impl From<Getter> for ClassElement
 
impl From<Getter> for ClassElement
Source§fn from(node: Getter) -> ClassElement
 
fn from(node: Getter) -> ClassElement
Converts to this type from the input type.
Source§impl From<Getter> for MethodDefinition
 
impl From<Getter> for MethodDefinition
Source§fn from(node: Getter) -> MethodDefinition
 
fn from(node: Getter) -> MethodDefinition
Converts to this type from the input type.
Source§impl From<Getter> for ObjectProp
 
impl From<Getter> for ObjectProp
Source§fn from(node: Getter) -> ObjectProp
 
fn from(node: Getter) -> ObjectProp
Converts to this type from the input type.
impl Eq for Getter
impl StructuralPartialEq for Getter
Auto Trait Implementations§
impl Freeze for Getter
impl RefUnwindSafe for Getter
impl Send for Getter
impl Sync for Getter
impl Unpin for Getter
impl UnwindSafe for Getter
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