pub struct Else {
pub else: Ranged<Token>,
pub expression: Ranged<Expression>,
}Expand description
The syntax components of the else part of an if expression.
Fields§
§else: Ranged<Token>The else keyword.
expression: Ranged<Expression>The expression to evaluate.
Trait Implementations§
impl StructuralPartialEq for Else
Auto Trait Implementations§
impl Freeze for Else
impl RefUnwindSafe for Else
impl Send for Else
impl Sync for Else
impl Unpin for Else
impl UnwindSafe for Else
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
§impl<A> Cast for A
impl<A> Cast for A
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)