pub struct Choose {
pub branches: Vec<Branch>,
pub otherwise: Vec<Element>,
}Expand description
<choose>: conditional rendering.
Fields§
§branches: Vec<Branch><if> followed by any <else-if> branches, in order.
otherwise: Vec<Element><else> elements (empty when absent).
Trait Implementations§
impl Eq for Choose
impl StructuralPartialEq for Choose
Auto Trait Implementations§
impl Freeze for Choose
impl RefUnwindSafe for Choose
impl Send for Choose
impl Sync for Choose
impl Unpin for Choose
impl UnsafeUnpin for Choose
impl UnwindSafe for Choose
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