[−][src]Struct swc_ecma_ast::ClassMethod
Fields
span: Span
key: K
function: Function
kind: MethodKind
is_static: bool
accessibility: Option<Accessibility>
Typescript extension.
is_abstract: bool
Typescript extension.
is_optional: bool
Trait Implementations
impl From<ClassMethod<PropName>> for ClassMember
[src]
impl From<ClassMethod<PropName>> for ClassMember
impl From<ClassMethod<PrivateName>> for ClassMember
[src]
impl From<ClassMethod<PrivateName>> for ClassMember
fn from(v: PrivateMethod) -> Self | [src] |
impl<K: PartialEq> PartialEq<ClassMethod<K>> for ClassMethod<K>
[src]
impl<K: PartialEq> PartialEq<ClassMethod<K>> for ClassMethod<K>
fn eq(&self, other: &ClassMethod<K>) -> bool | [src] |
fn ne(&self, other: &ClassMethod<K>) -> bool | [src] |
impl<K: Clone> Clone for ClassMethod<K>
[src]
impl<K: Clone> Clone for ClassMethod<K>
fn clone(&self) -> ClassMethod<K> | [src] |
fn clone_from(&mut self, source: &Self) | 1.0.0 [src] |
Performs copy-assignment from source
. Read more
impl<K: Debug> Debug for ClassMethod<K>
[src]
impl<K: Debug> Debug for ClassMethod<K>
impl<K> Spanned for ClassMethod<K>
[src]
impl<K> Spanned for ClassMethod<K>
Auto Trait Implementations
impl<K> Send for ClassMethod<K> where
K: Send,
impl<K> Send for ClassMethod<K> where
K: Send,
impl<K> Sync for ClassMethod<K> where
K: Sync,
impl<K> Sync for ClassMethod<K> where
K: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |
impl<N> AstNode for N where
N: Spanned + PartialEq<N> + Clone + Debug,
[src]
impl<N> AstNode for N where
N: Spanned + PartialEq<N> + Clone + Debug,
impl<T> Erased for T
impl<T> Erased for T