pub struct WhenBinding {
pub variable: VariableRef,
pub expr: MutOrImmutableExpression,
}
Fields§
§variable: VariableRef
§expr: MutOrImmutableExpression
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WhenBinding
impl !RefUnwindSafe for WhenBinding
impl !Send for WhenBinding
impl !Sync for WhenBinding
impl Unpin for WhenBinding
impl !UnwindSafe for WhenBinding
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