Struct swc_ecma_ast::TsInterfaceDecl
source · [−]pub struct TsInterfaceDecl {
pub span: Span,
pub id: Ident,
pub declare: bool,
pub type_params: Option<Box<TsTypeParamDecl>>,
pub extends: Vec<TsExprWithTypeArgs>,
pub body: TsInterfaceBody,
}
Fields
span: Span
id: Ident
declare: bool
type_params: Option<Box<TsTypeParamDecl>>
extends: Vec<TsExprWithTypeArgs>
body: TsInterfaceBody
Trait Implementations
sourceimpl Clone for TsInterfaceDecl
impl Clone for TsInterfaceDecl
sourcefn clone(&self) -> TsInterfaceDecl
fn clone(&self) -> TsInterfaceDecl
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 TsInterfaceDecl
impl Debug for TsInterfaceDecl
sourceimpl<'de> Deserialize<'de> for TsInterfaceDecl
impl<'de> Deserialize<'de> for TsInterfaceDecl
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 TsInterfaceDecl
impl EqIgnoreSpan for TsInterfaceDecl
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsInterfaceDecl> for Decl
impl From<TsInterfaceDecl> for Decl
sourcefn from(src: TsInterfaceDecl) -> Decl
fn from(src: TsInterfaceDecl) -> Decl
Converts to this type from the input type.
sourceimpl From<TsInterfaceDecl> for ModuleItem
impl From<TsInterfaceDecl> for ModuleItem
sourcefn from(src: TsInterfaceDecl) -> ModuleItem
fn from(src: TsInterfaceDecl) -> ModuleItem
Converts to this type from the input type.
sourceimpl From<TsInterfaceDecl> for Stmt
impl From<TsInterfaceDecl> for Stmt
sourcefn from(src: TsInterfaceDecl) -> Stmt
fn from(src: TsInterfaceDecl) -> Stmt
Converts to this type from the input type.
sourceimpl Hash for TsInterfaceDecl
impl Hash for TsInterfaceDecl
sourceimpl PartialEq<TsInterfaceDecl> for TsInterfaceDecl
impl PartialEq<TsInterfaceDecl> for TsInterfaceDecl
sourcefn eq(&self, other: &TsInterfaceDecl) -> bool
fn eq(&self, other: &TsInterfaceDecl) -> bool
sourceimpl Serialize for TsInterfaceDecl
impl Serialize for TsInterfaceDecl
sourceimpl Spanned for TsInterfaceDecl
impl Spanned for TsInterfaceDecl
impl Eq for TsInterfaceDecl
impl StructuralEq for TsInterfaceDecl
impl StructuralPartialEq for TsInterfaceDecl
Auto Trait Implementations
impl RefUnwindSafe for TsInterfaceDecl
impl Send for TsInterfaceDecl
impl Sync for TsInterfaceDecl
impl Unpin for TsInterfaceDecl
impl UnwindSafe for TsInterfaceDecl
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