Enum stc_ts_ast_rnode::RClassMember
source · [−]pub enum RClassMember {
Constructor(RConstructor),
Method(RClassMethod),
PrivateMethod(RPrivateMethod),
ClassProp(RClassProp),
PrivateProp(RPrivateProp),
TsIndexSignature(RTsIndexSignature),
StaticBlock(RStaticBlock),
Empty(REmptyStmt),
}
Variants
Constructor(RConstructor)
Method(RClassMethod)
PrivateMethod(RPrivateMethod)
ClassProp(RClassProp)
PrivateProp(RPrivateProp)
TsIndexSignature(RTsIndexSignature)
StaticBlock(RStaticBlock)
Empty(REmptyStmt)
Trait Implementations
sourceimpl Clone for RClassMember
impl Clone for RClassMember
sourcefn clone(&self) -> RClassMember
fn clone(&self) -> RClassMember
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for RClassMember
impl Debug for RClassMember
sourceimpl<'de> Deserialize<'de> for RClassMember
impl<'de> Deserialize<'de> for RClassMember
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl EqIgnoreSpan for RClassMember
impl EqIgnoreSpan for RClassMember
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl<V> FoldWith<V> for RClassMemberwhere
V: ?Sized,
impl<V> FoldWith<V> for RClassMemberwhere
V: ?Sized,
sourceimpl From<RClassMethod> for RClassMember
impl From<RClassMethod> for RClassMember
sourcefn from(v: RClassMethod) -> Self
fn from(v: RClassMethod) -> Self
Converts to this type from the input type.
sourceimpl From<RClassProp> for RClassMember
impl From<RClassProp> for RClassMember
sourcefn from(v: RClassProp) -> Self
fn from(v: RClassProp) -> Self
Converts to this type from the input type.
sourceimpl From<RConstructor> for RClassMember
impl From<RConstructor> for RClassMember
sourcefn from(v: RConstructor) -> Self
fn from(v: RConstructor) -> Self
Converts to this type from the input type.
sourceimpl From<REmptyStmt> for RClassMember
impl From<REmptyStmt> for RClassMember
sourcefn from(v: REmptyStmt) -> Self
fn from(v: REmptyStmt) -> Self
Converts to this type from the input type.
sourceimpl From<RPrivateMethod> for RClassMember
impl From<RPrivateMethod> for RClassMember
sourcefn from(v: RPrivateMethod) -> Self
fn from(v: RPrivateMethod) -> Self
Converts to this type from the input type.
sourceimpl From<RPrivateProp> for RClassMember
impl From<RPrivateProp> for RClassMember
sourcefn from(v: RPrivateProp) -> Self
fn from(v: RPrivateProp) -> Self
Converts to this type from the input type.
sourceimpl From<RStaticBlock> for RClassMember
impl From<RStaticBlock> for RClassMember
sourcefn from(v: RStaticBlock) -> Self
fn from(v: RStaticBlock) -> Self
Converts to this type from the input type.
sourceimpl From<RTsIndexSignature> for RClassMember
impl From<RTsIndexSignature> for RClassMember
sourcefn from(v: RTsIndexSignature) -> Self
fn from(v: RTsIndexSignature) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<RClassMember> for RClassMember
impl PartialEq<RClassMember> for RClassMember
sourcefn eq(&self, other: &RClassMember) -> bool
fn eq(&self, other: &RClassMember) -> bool
sourceimpl RNode for RClassMember
impl RNode for RClassMember
type Orig = ClassMember
fn from_orig(id_gen: &mut NodeIdGenerator, orig: Self::Orig) -> Self
fn into_orig(self) -> Self::Orig
sourceimpl Serialize for RClassMember
impl Serialize for RClassMember
sourceimpl Spanned for RClassMember
impl Spanned for RClassMember
sourceimpl<V> VisitMutWith<V> for RClassMemberwhere
V: ?Sized,
impl<V> VisitMutWith<V> for RClassMemberwhere
V: ?Sized,
fn visit_mut_children_with(&mut self, _visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)where
V: VisitMut<Self>,
sourceimpl<V> VisitWith<V> for RClassMemberwhere
V: ?Sized,
impl<V> VisitWith<V> for RClassMemberwhere
V: ?Sized,
fn visit_children_with(&self, _visitor: &mut V)
fn visit_with(&self, visitor: &mut V)where
V: Visit<Self>,
impl StructuralPartialEq for RClassMember
impl Visitable for RClassMember
Auto Trait Implementations
impl RefUnwindSafe for RClassMember
impl Send for RClassMember
impl Sync for RClassMember
impl Unpin for RClassMember
impl UnwindSafe for RClassMember
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<R, N> IntoRNode<R> for Nwhere
R: RNode<Orig = N>,
impl<R, N> IntoRNode<R> for Nwhere
R: RNode<Orig = N>,
fn into_rnode(self, g: &mut NodeIdGenerator) -> R
sourceimpl<T> SpanExt for Twhere
T: Spanned,
impl<T> SpanExt for Twhere
T: Spanned,
fn is_synthesized(&self) -> bool
fn starts_on_new_line(&self, format: ListFormat) -> bool
sourcefn comment_range(&self) -> Span
fn comment_range(&self) -> Span
Gets a custom text range to use when emitting comments.