pub struct JSXNamespacedName {
pub span: Span,
pub ns: IdentName,
pub name: IdentName,
}Expand description
XML-based namespace syntax:
Fields§
§span: Span§ns: IdentName§name: IdentNameTrait Implementations§
Source§impl Clone for JSXNamespacedName
impl Clone for JSXNamespacedName
Source§fn clone(&self) -> JSXNamespacedName
fn clone(&self) -> JSXNamespacedName
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JSXNamespacedName
impl Debug for JSXNamespacedName
Source§impl EqIgnoreSpan for JSXNamespacedName
impl EqIgnoreSpan for JSXNamespacedName
fn eq_ignore_span(&self, other: &JSXNamespacedName) -> bool
Source§impl<V> FoldWith<V> for JSXNamespacedName
impl<V> FoldWith<V> for JSXNamespacedName
Source§fn fold_with(self, visitor: &mut V) -> JSXNamespacedName
fn fold_with(self, visitor: &mut V) -> JSXNamespacedName
Calls Fold::fold_jsx_namespaced_name with self.
Source§fn fold_children_with(self, visitor: &mut V) -> JSXNamespacedName
fn fold_children_with(self, visitor: &mut V) -> JSXNamespacedName
Visit children nodes of
self`` with visitor`.Source§impl From<JSXNamespacedName> for Expr
impl From<JSXNamespacedName> for Expr
Source§fn from(v: JSXNamespacedName) -> Expr
fn from(v: JSXNamespacedName) -> Expr
Converts to this type from the input type.
Source§impl From<JSXNamespacedName> for JSXAttrName
impl From<JSXNamespacedName> for JSXAttrName
Source§fn from(v: JSXNamespacedName) -> JSXAttrName
fn from(v: JSXNamespacedName) -> JSXAttrName
Converts to this type from the input type.
Source§impl From<JSXNamespacedName> for JSXElementName
impl From<JSXNamespacedName> for JSXElementName
Source§fn from(v: JSXNamespacedName) -> JSXElementName
fn from(v: JSXNamespacedName) -> JSXElementName
Converts to this type from the input type.
Source§impl Hash for JSXNamespacedName
impl Hash for JSXNamespacedName
Source§impl Node for JSXNamespacedName
impl Node for JSXNamespacedName
Source§impl PartialEq for JSXNamespacedName
impl PartialEq for JSXNamespacedName
Source§impl Spanned for JSXNamespacedName
impl Spanned for JSXNamespacedName
Source§impl<V> VisitMutWith<V> for JSXNamespacedName
impl<V> VisitMutWith<V> for JSXNamespacedName
Source§fn visit_mut_with(&mut self, visitor: &mut V)
fn visit_mut_with(&mut self, visitor: &mut V)
Calls VisitMut::visit_mut_jsx_namespaced_name with self.
Source§fn visit_mut_children_with(&mut self, visitor: &mut V)
fn visit_mut_children_with(&mut self, visitor: &mut V)
Visit children nodes of
self`` with visitor`.Source§impl<V> VisitWith<V> for JSXNamespacedName
impl<V> VisitWith<V> for JSXNamespacedName
Source§fn visit_with(&self, visitor: &mut V)
fn visit_with(&self, visitor: &mut V)
Calls Visit::visit_jsx_namespaced_name with self.
Source§fn visit_children_with(&self, visitor: &mut V)
fn visit_children_with(&self, visitor: &mut V)
Visit children nodes of
self`` with visitor`.impl Eq for JSXNamespacedName
impl StructuralPartialEq for JSXNamespacedName
Auto Trait Implementations§
impl Freeze for JSXNamespacedName
impl RefUnwindSafe for JSXNamespacedName
impl Send for JSXNamespacedName
impl Sync for JSXNamespacedName
impl Unpin for JSXNamespacedName
impl UnwindSafe for JSXNamespacedName
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> ExprFactory for T
impl<T> ExprFactory for T
Source§fn as_arg(self) -> ExprOrSpread
fn as_arg(self) -> ExprOrSpread
Source§fn into_return_stmt(self) -> ReturnStmt
fn into_return_stmt(self) -> ReturnStmt
Creates a statement whcih return
self.fn as_callee(self) -> Callee
fn as_iife(self) -> CallExpr
Source§fn into_lazy_arrow(self, params: Vec<Pat>) -> ArrowExpr
fn into_lazy_arrow(self, params: Vec<Pat>) -> ArrowExpr
create a ArrowExpr which return self Read more
Source§fn into_lazy_fn(self, params: Vec<Param>) -> Function
fn into_lazy_fn(self, params: Vec<Param>) -> Function
create a Function which return self Read more
fn into_lazy_auto(self, params: Vec<Pat>, support_arrow: bool) -> Expr
Source§fn into_var_decl(self, kind: VarDeclKind, name: Pat) -> VarDecl
fn into_var_decl(self, kind: VarDeclKind, name: Pat) -> VarDecl
create a var declartor using self as init Read more
fn into_new_expr(self, span: Span, args: Option<Vec<ExprOrSpread>>) -> NewExpr
fn apply(self, span: Span, this: Box<Expr>, args: Vec<ExprOrSpread>) -> Expr
fn call_fn(self, span: Span, args: Vec<ExprOrSpread>) -> Expr
fn as_call(self, span: Span, args: Vec<ExprOrSpread>) -> Expr
fn as_fn_decl(self) -> Option<FnDecl>
fn as_class_decl(self) -> Option<ClassDecl>
fn wrap_with_paren(self) -> Expr
Source§fn make_assign_to(self, op: AssignOp, left: AssignTarget) -> Expr
fn make_assign_to(self, op: AssignOp, left: AssignTarget) -> Expr
Creates a assign expr
$lhs $op $selffn make_member(self, prop: IdentName) -> MemberExpr
fn computed_member<T>(self, prop: T) -> MemberExpr
Source§impl<T> ImplicitClone for Twhere
T: Clone,
impl<T> ImplicitClone for Twhere
T: Clone,
fn clone_quote_var(&self) -> Self
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> SpanExt for Twhere
T: Spanned,
impl<T> SpanExt for Twhere
T: Spanned,
fn is_synthesized(&self) -> bool
fn starts_on_new_line(&self, format: ListFormat) -> bool
Source§fn comment_range(&self) -> Span
fn comment_range(&self) -> Span
Gets a custom text range to use when emitting comments.