Struct swc_ecma_ast::TsTypeOperator
source · [−]pub struct TsTypeOperator {
pub span: Span,
pub op: TsTypeOperatorOp,
pub type_ann: Box<TsType>,
}
Fields
span: Span
op: TsTypeOperatorOp
type_ann: Box<TsType>
Trait Implementations
sourceimpl Clone for TsTypeOperator
impl Clone for TsTypeOperator
sourcefn clone(&self) -> TsTypeOperator
fn clone(&self) -> TsTypeOperator
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 TsTypeOperator
impl Debug for TsTypeOperator
sourceimpl<'de> Deserialize<'de> for TsTypeOperator
impl<'de> Deserialize<'de> for TsTypeOperator
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 TsTypeOperator
impl EqIgnoreSpan for TsTypeOperator
fn eq_ignore_span(&self, other: &Self) -> bool
sourceimpl From<TsTypeOperator> for TsType
impl From<TsTypeOperator> for TsType
sourcefn from(v: TsTypeOperator) -> Self
fn from(v: TsTypeOperator) -> Self
Converts to this type from the input type.
sourceimpl Hash for TsTypeOperator
impl Hash for TsTypeOperator
sourceimpl PartialEq<TsTypeOperator> for TsTypeOperator
impl PartialEq<TsTypeOperator> for TsTypeOperator
sourcefn eq(&self, other: &TsTypeOperator) -> bool
fn eq(&self, other: &TsTypeOperator) -> bool
sourceimpl Serialize for TsTypeOperator
impl Serialize for TsTypeOperator
sourceimpl Spanned for TsTypeOperator
impl Spanned for TsTypeOperator
impl Eq for TsTypeOperator
impl StructuralEq for TsTypeOperator
impl StructuralPartialEq for TsTypeOperator
Auto Trait Implementations
impl RefUnwindSafe for TsTypeOperator
impl Send for TsTypeOperator
impl Sync for TsTypeOperator
impl Unpin for TsTypeOperator
impl UnwindSafe for TsTypeOperator
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