pub struct Item { /* private fields */ }Implementations§
Source§impl Item
impl Item
pub fn new<S: Into<String>>(title: S) -> Self
pub fn uid(self, uid: &str) -> Self
pub fn subtitle(self, subtitle: &str) -> Self
pub fn arg(self, arg: &str) -> Self
pub fn icon<I: Into<Icon>>(self, icon: I) -> Self
pub fn valid(self, valid: bool) -> Self
pub fn variables(self, variables: HashMap<String, String>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Item
impl RefUnwindSafe for Item
impl Send for Item
impl Sync for Item
impl Unpin for Item
impl UnwindSafe for Item
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