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