pub enum ListStyle {
Automatic,
Plain,
Framed,
}Expand description
How a List sits in its surroundings, mapped to each platform’s native
look. Choosing per platform is up to the app, with platform!.
Variants§
Automatic
The same as Plain, on every platform.
Plain
Edge to edge, on the surface around it: sidebars, a window’s main content.
Framed
In a bordered box, on the platform’s content background: a list inside a form or a dialog.
Implementations§
Trait Implementations§
impl Copy for ListStyle
impl Eq for ListStyle
impl StructuralPartialEq for ListStyle
Auto Trait Implementations§
impl Forget for ListStyle
impl Freeze for ListStyle
impl Move for ListStyle
impl RefUnwindSafe for ListStyle
impl Send for ListStyle
impl Sync for ListStyle
impl Unpin for ListStyle
impl UnsafeUnpin for ListStyle
impl UnwindSafe for ListStyle
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