pub struct Gallery {
pub id: String,
pub tiles: Vec<Tile>,
pub selected: Option<usize>,
}Expand description
A Widget::Gallery: small square pictures side by side, going on
to the next line, each over its name; the selected one ringed in
the accent. A click is PanelEvent::Choice with the tile’s place.
Fields§
§id: String§tiles: Vec<Tile>§selected: Option<usize>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gallery
impl<'de> Deserialize<'de> for Gallery
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Gallery
Auto Trait Implementations§
impl Forget for Gallery
impl Freeze for Gallery
impl Move for Gallery
impl RefUnwindSafe for Gallery
impl Send for Gallery
impl Sync for Gallery
impl Unpin for Gallery
impl UnsafeUnpin for Gallery
impl UnwindSafe for Gallery
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