pub enum Row<'a> {
Text {
label: &'a str,
value: Option<&'a str>,
},
Button {
label: &'a str,
id: u64,
},
Separator,
}Expand description
One row of a panel.
Variants§
Text
label, and value beside it when there is one.
Button
A button with label; a click gives back id.
Separator
A line.
Implementations§
Trait Implementations§
impl<'a> Copy for Row<'a>
impl<'a> Eq for Row<'a>
impl<'a> StructuralPartialEq for Row<'a>
Auto Trait Implementations§
impl<'a> Forget for Row<'a>
impl<'a> Freeze for Row<'a>
impl<'a> Move for Row<'a>
impl<'a> RefUnwindSafe for Row<'a>
impl<'a> Send for Row<'a>
impl<'a> Sync for Row<'a>
impl<'a> Unpin for Row<'a>
impl<'a> UnsafeUnpin for Row<'a>
impl<'a> UnwindSafe for Row<'a>
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