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 ==
.source§impl Spanned for VariadicType
impl Spanned for VariadicType
impl StructuralPartialEq for VariadicType
Auto Trait Implementations§
impl RefUnwindSafe for VariadicType
impl Send for VariadicType
impl Sync for VariadicType
impl Unpin for VariadicType
impl UnwindSafe for VariadicType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more