pub enum EntryMut<'a> {
Expr(&'a mut Expr),
Value(&'a mut Value),
}Variants§
Implementations§
Source§impl EntryMut<'_>
impl EntryMut<'_>
pub fn as_expr(&self) -> &Expr
pub fn as_expr_mut(&mut self) -> &mut Expr
pub fn is_expr(&self) -> bool
pub fn is_statement(&self) -> bool
pub fn is_value(&self) -> bool
pub fn is_value_null(&self) -> bool
pub fn is_default(&self) -> bool
pub fn take(&mut self) -> Expr
pub fn insert(&mut self, expr: Expr)
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for EntryMut<'a>
impl<'a> RefUnwindSafe for EntryMut<'a>
impl<'a> Send for EntryMut<'a>
impl<'a> Sync for EntryMut<'a>
impl<'a> Unpin for EntryMut<'a>
impl<'a> !UnwindSafe for EntryMut<'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