pub enum MenuStyle {
BorderedButtonMenuStyle,
BorderlessButtonMenuStyle,
ButtonMenuStyle,
DefaultMenuStyle,
}Expand description
The concrete types conforming to SwiftUI.MenuStyle.
Variants§
Trait Implementations§
impl Copy for MenuStyle
impl Eq for MenuStyle
Source§impl From<BorderedButtonMenuStyle> for MenuStyle
impl From<BorderedButtonMenuStyle> for MenuStyle
Source§fn from(_: BorderedButtonMenuStyle) -> Self
fn from(_: BorderedButtonMenuStyle) -> Self
Converts to this type from the input type.
Source§impl From<BorderlessButtonMenuStyle> for MenuStyle
impl From<BorderlessButtonMenuStyle> for MenuStyle
Source§fn from(_: BorderlessButtonMenuStyle) -> Self
fn from(_: BorderlessButtonMenuStyle) -> Self
Converts to this type from the input type.
Source§impl From<ButtonMenuStyle> for MenuStyle
impl From<ButtonMenuStyle> for MenuStyle
Source§fn from(_: ButtonMenuStyle) -> Self
fn from(_: ButtonMenuStyle) -> Self
Converts to this type from the input type.
Source§impl From<DefaultMenuStyle> for MenuStyle
impl From<DefaultMenuStyle> for MenuStyle
Source§fn from(_: DefaultMenuStyle) -> Self
fn from(_: DefaultMenuStyle) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for MenuStyle
Auto Trait Implementations§
impl Freeze for MenuStyle
impl RefUnwindSafe for MenuStyle
impl Send for MenuStyle
impl Sync for MenuStyle
impl Unpin for MenuStyle
impl UnsafeUnpin for MenuStyle
impl UnwindSafe for MenuStyle
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