pub struct If<T>where
T: TypeSet,{
pub if_token: Token,
pub condition: RightHandExpression<T>,
pub body: Body<T>,
pub else_branch: Option<Else<T>>,
}Fields§
§if_token: Token§condition: RightHandExpression<T>§body: Body<T>§else_branch: Option<Else<T>>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for If<T>
impl<T> RefUnwindSafe for If<T>
impl<T> Send for If<T>
impl<T> Sync for If<T>
impl<T> Unpin for If<T>
impl<T> UnwindSafe for If<T>
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