Struct jsdoc::ast::VariadicType
source · pub struct VariadicType {
pub span: Span,
pub ty: Box<Type>,
}Fields§
§span: Span§ty: Box<Type>Trait Implementations§
source§impl Clone for VariadicType
impl Clone for VariadicType
source§fn clone(&self) -> VariadicType
fn clone(&self) -> VariadicType
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 VariadicType
impl Debug for VariadicType
source§impl From<VariadicType> for Type
impl From<VariadicType> for Type
source§fn from(v: VariadicType) -> Self
fn from(v: VariadicType) -> Self
Converts to this type from the input type.
source§impl PartialEq<VariadicType> for VariadicType
impl PartialEq<VariadicType> for VariadicType
source§fn eq(&self, other: &VariadicType) -> bool
fn eq(&self, other: &VariadicType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.