Struct swc_ecma_ast::TsEnumMember
source · [−]pub struct TsEnumMember {
pub span: Span,
pub id: TsEnumMemberId,
pub init: Option<Box<Expr>>,
}
Fields
span: Span
id: TsEnumMemberId
init: Option<Box<Expr>>
Trait Implementations
sourceimpl Clone for TsEnumMember
impl Clone for TsEnumMember
sourcefn clone(&self) -> TsEnumMember
fn clone(&self) -> TsEnumMember
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 TsEnumMember
impl Debug for TsEnumMember
sourceimpl<'de> Deserialize<'de> for TsEnumMember
impl<'de> Deserialize<'de> for TsEnumMember
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 TsEnumMember
impl EqIgnoreSpan for TsEnumMember
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl Hash for TsEnumMember
impl Hash for TsEnumMember
sourceimpl PartialEq<TsEnumMember> for TsEnumMember
impl PartialEq<TsEnumMember> for TsEnumMember
sourcefn eq(&self, other: &TsEnumMember) -> bool
fn eq(&self, other: &TsEnumMember) -> bool
sourceimpl Serialize for TsEnumMember
impl Serialize for TsEnumMember
sourceimpl Spanned for TsEnumMember
impl Spanned for TsEnumMember
impl Eq for TsEnumMember
impl StructuralEq for TsEnumMember
impl StructuralPartialEq for TsEnumMember
Auto Trait Implementations
impl RefUnwindSafe for TsEnumMember
impl Send for TsEnumMember
impl Sync for TsEnumMember
impl Unpin for TsEnumMember
impl UnwindSafe for TsEnumMember
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