Enum dprint_swc_ecma_ast_view::VarDeclKind [−]
pub enum VarDeclKind { Var, Let, Const, }
Variants
var
let
const
Implementations
impl VarDeclKind
impl VarDeclKind
Trait Implementations
impl Clone for VarDeclKind
impl Clone for VarDeclKind
pub fn clone(&self) -> VarDeclKind
pub fn clone(&self) -> VarDeclKind
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for VarDeclKind
impl Debug for VarDeclKind
impl<'de> Deserialize<'de> for VarDeclKind
impl<'de> Deserialize<'de> for VarDeclKind
pub fn deserialize<D>(
deserializer: D
) -> Result<VarDeclKind, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
pub fn deserialize<D>(
deserializer: D
) -> Result<VarDeclKind, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Display for VarDeclKind
impl Display for VarDeclKind
impl EqIgnoreSpan for VarDeclKind
impl EqIgnoreSpan for VarDeclKind
pub fn eq_ignore_span(&self, other: &VarDeclKind) -> bool
impl<V> FoldWith<V> for VarDeclKind where
V: Fold,
impl<V> FoldWith<V> for VarDeclKind where
V: Fold,
pub fn fold_with(self, v: &mut V) -> VarDeclKind
pub fn fold_children_with(self, v: &mut V) -> VarDeclKind
pub fn fold_children_with(self, v: &mut V) -> VarDeclKind
Visit children nodes of self with v
impl FromStr for VarDeclKind
impl FromStr for VarDeclKind
impl Hash for VarDeclKind
impl Hash for VarDeclKind
impl Ord for VarDeclKind
impl Ord for VarDeclKind
pub fn cmp(&self, other: &VarDeclKind) -> Ordering
pub fn cmp(&self, other: &VarDeclKind) -> Ordering
Compares and returns the maximum of two values. Read more
Compares and returns the minimum of two values. Read more
impl PartialEq<VarDeclKind> for VarDeclKind
impl PartialEq<VarDeclKind> for VarDeclKind
impl PartialOrd<VarDeclKind> for VarDeclKind
impl PartialOrd<VarDeclKind> for VarDeclKind
pub fn partial_cmp(&self, other: &VarDeclKind) -> Option<Ordering>
pub fn partial_cmp(&self, other: &VarDeclKind) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl Serialize for VarDeclKind
impl Serialize for VarDeclKind
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
pub fn serialize<S>(
&self,
serializer: S
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error> where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<V> VisitAllWith<V> for VarDeclKind where
V: VisitAll,
impl<V> VisitAllWith<V> for VarDeclKind where
V: VisitAll,
pub fn visit_all_with(&self, _parent: &(dyn Node + 'static), v: &mut V)
pub fn visit_all_children_with(&self, _visitor: &mut V)
pub fn visit_all_children_with(&self, _visitor: &mut V)
Visit children nodes of self with v
impl<V> VisitMutWith<V> for VarDeclKind where
V: VisitMut,
impl<V> VisitMutWith<V> for VarDeclKind where
V: VisitMut,
pub fn visit_mut_with(&mut self, v: &mut V)
pub fn visit_mut_children_with(&mut self, _visitor: &mut V)
impl<V> VisitWith<V> for VarDeclKind where
V: Visit,
impl<V> VisitWith<V> for VarDeclKind where
V: Visit,
pub fn visit_with(&self, _parent: &(dyn Node + 'static), v: &mut V)
pub fn visit_children_with(&self, _visitor: &mut V)
pub fn visit_children_with(&self, _visitor: &mut V)
Visit children nodes of self with v
impl Copy for VarDeclKind
impl Eq for VarDeclKind
impl StructuralEq for VarDeclKind
impl StructuralPartialEq for VarDeclKind
Auto Trait Implementations
impl RefUnwindSafe for VarDeclKind
impl Send for VarDeclKind
impl Sync for VarDeclKind
impl Unpin for VarDeclKind
impl UnwindSafe for VarDeclKind
Blanket Implementations
Mutably borrows from an owned value. Read more