pub enum MenuBarConfig {
Replace(MenuBar),
Patch(MenuBarPatch),
}Variants§
Replace(MenuBar)
Patch(MenuBarPatch)
Implementations§
Source§impl MenuBarConfig
impl MenuBarConfig
pub fn from_bytes(bytes: &[u8]) -> Result<Self, MenuBarError>
Trait Implementations§
Source§impl Clone for MenuBarConfig
impl Clone for MenuBarConfig
Source§fn clone(&self) -> MenuBarConfig
fn clone(&self) -> MenuBarConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 MenuBarConfig
impl Debug for MenuBarConfig
Source§impl PartialEq for MenuBarConfig
impl PartialEq for MenuBarConfig
impl Eq for MenuBarConfig
impl StructuralPartialEq for MenuBarConfig
Auto Trait Implementations§
impl Freeze for MenuBarConfig
impl RefUnwindSafe for MenuBarConfig
impl Send for MenuBarConfig
impl Sync for MenuBarConfig
impl Unpin for MenuBarConfig
impl UnsafeUnpin for MenuBarConfig
impl UnwindSafe for MenuBarConfig
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