pub enum MutableVariableOrProperty<'a> {
VariableFieldName(&'a mut String),
ArrayDestructuringMember(&'a mut ArrayDestructuringField<VariableField>),
ObjectDestructuringMember(&'a mut WithComment<ObjectDestructuringField<VariableField>>),
ClassName(Option<&'a mut VariableIdentifier>),
FunctionName(Option<&'a mut VariableIdentifier>),
ClassPropertyKey(&'a mut PropertyKey<PublicOrPrivate>),
ObjectPropertyKey(&'a mut PropertyKey<AlwaysPublic>),
}Variants§
VariableFieldName(&'a mut String)
ArrayDestructuringMember(&'a mut ArrayDestructuringField<VariableField>)
ObjectDestructuringMember(&'a mut WithComment<ObjectDestructuringField<VariableField>>)
ClassName(Option<&'a mut VariableIdentifier>)
FunctionName(Option<&'a mut VariableIdentifier>)
ClassPropertyKey(&'a mut PropertyKey<PublicOrPrivate>)
ObjectPropertyKey(&'a mut PropertyKey<AlwaysPublic>)
Trait Implementations§
Source§impl<'a> Debug for MutableVariableOrProperty<'a>
impl<'a> Debug for MutableVariableOrProperty<'a>
impl SelfVisitableMut for MutableVariableOrProperty<'_>
Auto Trait Implementations§
impl<'a> Freeze for MutableVariableOrProperty<'a>
impl<'a> RefUnwindSafe for MutableVariableOrProperty<'a>
impl<'a> Send for MutableVariableOrProperty<'a>
impl<'a> Sync for MutableVariableOrProperty<'a>
impl<'a> Unpin for MutableVariableOrProperty<'a>
impl<'a> !UnwindSafe for MutableVariableOrProperty<'a>
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