Enum dprint_swc_ecma_ast_view::MethodKind [−]
pub enum MethodKind {
Method,
Getter,
Setter,
}
Variants
Trait Implementations
impl Clone for MethodKind
impl Clone for MethodKind
pub fn clone(&self) -> MethodKind
pub fn clone(&self) -> MethodKind
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for MethodKind
impl Debug for MethodKind
impl<'de> Deserialize<'de> for MethodKind
impl<'de> Deserialize<'de> for MethodKind
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<MethodKind, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<MethodKind, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl EqIgnoreSpan for MethodKind
impl EqIgnoreSpan for MethodKind
pub fn eq_ignore_span(&self, other: &MethodKind) -> bool
impl<V> FoldWith<V> for MethodKind where
V: Fold,
impl<V> FoldWith<V> for MethodKind where
V: Fold,
pub fn fold_with(self, v: &mut V) -> MethodKind
pub fn fold_children_with(self, v: &mut V) -> MethodKind
pub fn fold_children_with(self, v: &mut V) -> MethodKind
Visit children nodes of self with v
impl Hash for MethodKind
impl Hash for MethodKind
impl PartialEq<MethodKind> for MethodKind
impl PartialEq<MethodKind> for MethodKind
impl Serialize for MethodKind
impl Serialize for MethodKind
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 MethodKind where
V: VisitAll,
impl<V> VisitAllWith<V> for MethodKind 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 MethodKind where
V: VisitMut,
impl<V> VisitMutWith<V> for MethodKind 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 MethodKind where
V: Visit,
impl<V> VisitWith<V> for MethodKind 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 MethodKind
impl Eq for MethodKind
impl StructuralEq for MethodKind
impl StructuralPartialEq for MethodKind
Auto Trait Implementations
impl RefUnwindSafe for MethodKind
impl Send for MethodKind
impl Sync for MethodKind
impl Unpin for MethodKind
impl UnwindSafe for MethodKind
Blanket Implementations
Mutably borrows from an owned value. Read more