pub enum TSFuncDeclTypeAnnot {
Type(Box<TSTypeAnnotation>),
Noop(Noop),
}
Variants§
Type(Box<TSTypeAnnotation>)
Noop(Noop)
Trait Implementations§
source§impl Clone for TSFuncDeclTypeAnnot
impl Clone for TSFuncDeclTypeAnnot
source§fn clone(&self) -> TSFuncDeclTypeAnnot
fn clone(&self) -> TSFuncDeclTypeAnnot
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TSFuncDeclTypeAnnot
impl Debug for TSFuncDeclTypeAnnot
source§impl<'de> Deserialize<'de> for TSFuncDeclTypeAnnot
impl<'de> Deserialize<'de> for TSFuncDeclTypeAnnot
source§fn 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
source§impl PartialEq<TSFuncDeclTypeAnnot> for TSFuncDeclTypeAnnot
impl PartialEq<TSFuncDeclTypeAnnot> for TSFuncDeclTypeAnnot
source§fn eq(&self, other: &TSFuncDeclTypeAnnot) -> bool
fn eq(&self, other: &TSFuncDeclTypeAnnot) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.