pub struct LiquidMenuSpec {
pub width: f32,
}Expand description
Layout parameters for a LiquidMenu.
Fields§
§width: f32Settled card width in dp (the reference menus vary: the App Store List/Grid menu is 250, the sort/filter menu ~66% of screen width).
Implementations§
Trait Implementations§
Source§impl Clone for LiquidMenuSpec
impl Clone for LiquidMenuSpec
Source§fn clone(&self) -> LiquidMenuSpec
fn clone(&self) -> LiquidMenuSpec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for LiquidMenuSpec
Source§impl Debug for LiquidMenuSpec
impl Debug for LiquidMenuSpec
Source§impl Default for LiquidMenuSpec
impl Default for LiquidMenuSpec
Source§impl PartialEq for LiquidMenuSpec
impl PartialEq for LiquidMenuSpec
impl StructuralPartialEq for LiquidMenuSpec
Auto Trait Implementations§
impl Freeze for LiquidMenuSpec
impl RefUnwindSafe for LiquidMenuSpec
impl Send for LiquidMenuSpec
impl Sync for LiquidMenuSpec
impl Unpin for LiquidMenuSpec
impl UnsafeUnpin for LiquidMenuSpec
impl UnwindSafe for LiquidMenuSpec
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