pub struct ContextMenuAppearance { /* private fields */ }Implementations§
Source§impl ContextMenuAppearance
impl ContextMenuAppearance
pub fn new() -> Self
pub fn width(self, value: f32) -> Self
pub fn panel(self, value: SurfaceAppearance) -> Self
pub fn backdrop(self, value: OverlayBackdropAppearance) -> Self
pub fn item(self, value: ContextMenuItemAppearance) -> Self
pub fn separator_color(self, value: u32) -> Self
Trait Implementations§
Source§impl Clone for ContextMenuAppearance
impl Clone for ContextMenuAppearance
Source§fn clone(&self) -> ContextMenuAppearance
fn clone(&self) -> ContextMenuAppearance
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 moreSource§impl Debug for ContextMenuAppearance
impl Debug for ContextMenuAppearance
Source§impl Default for ContextMenuAppearance
impl Default for ContextMenuAppearance
Source§fn default() -> ContextMenuAppearance
fn default() -> ContextMenuAppearance
Returns the “default value” for a type. Read more
Source§impl PartialEq for ContextMenuAppearance
impl PartialEq for ContextMenuAppearance
impl StructuralPartialEq for ContextMenuAppearance
Auto Trait Implementations§
impl Freeze for ContextMenuAppearance
impl RefUnwindSafe for ContextMenuAppearance
impl Send for ContextMenuAppearance
impl Sync for ContextMenuAppearance
impl Unpin for ContextMenuAppearance
impl UnsafeUnpin for ContextMenuAppearance
impl UnwindSafe for ContextMenuAppearance
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