pub struct SwitchBranch {
pub condition: Expr,
pub value: Expr,
}Fields§
§condition: Expr§value: ExprTrait Implementations§
Source§impl Clone for SwitchBranch
impl Clone for SwitchBranch
Source§fn clone(&self) -> SwitchBranch
fn clone(&self) -> SwitchBranch
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SwitchBranch
impl Debug for SwitchBranch
Source§impl Encode for SwitchBranch
impl Encode for SwitchBranch
Auto Trait Implementations§
impl Freeze for SwitchBranch
impl RefUnwindSafe for SwitchBranch
impl Send for SwitchBranch
impl Sync for SwitchBranch
impl Unpin for SwitchBranch
impl UnsafeUnpin for SwitchBranch
impl UnwindSafe for SwitchBranch
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