Enum jsdoc::ast::TypeExprOrTypeLit  
source · pub enum TypeExprOrTypeLit {
    Expr(Box<TypeExpr>),
    TypeLit(Box<TypeLit>),
}Variants§
Trait Implementations§
source§impl Clone for TypeExprOrTypeLit
 
impl Clone for TypeExprOrTypeLit
source§fn clone(&self) -> TypeExprOrTypeLit
 
fn clone(&self) -> TypeExprOrTypeLit
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 TypeExprOrTypeLit
 
impl Debug for TypeExprOrTypeLit
source§impl PartialEq<TypeExprOrTypeLit> for TypeExprOrTypeLit
 
impl PartialEq<TypeExprOrTypeLit> for TypeExprOrTypeLit
source§fn eq(&self, other: &TypeExprOrTypeLit) -> bool
 
fn eq(&self, other: &TypeExprOrTypeLit) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.