pub struct MenuBarProps {
pub children: Children,
pub title: String,
pub search_placeholder: Option<String>,
pub on_search: Callback<String>,
pub on_keyword: Callback<String>,
}Fields§
§children: Children§title: String§search_placeholder: Option<String>§on_search: Callback<String>§on_keyword: Callback<String>Trait Implementations§
Source§impl Clone for MenuBarProps
impl Clone for MenuBarProps
Source§fn clone(&self) -> MenuBarProps
fn clone(&self) -> MenuBarProps
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 PartialEq for MenuBarProps
impl PartialEq for MenuBarProps
Source§impl Properties for MenuBarProps
impl Properties for MenuBarProps
impl StructuralPartialEq for MenuBarProps
Auto Trait Implementations§
impl Freeze for MenuBarProps
impl !RefUnwindSafe for MenuBarProps
impl !Send for MenuBarProps
impl !Sync for MenuBarProps
impl Unpin for MenuBarProps
impl !UnwindSafe for MenuBarProps
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