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