Struct powerpack::Item [−][src]
pub struct Item<'a> { /* fields omitted */ }
Expand description
An Alfred script filter item.
Implementations
impl<'a> Item<'a>
[src]
impl<'a> Item<'a>
[src]pub fn subtitle(self, value: impl Into<String<'a>>) -> Self
[src]
pub fn uid(self, value: impl Into<String<'a>>) -> Self
[src]
pub fn arg(self, value: impl Into<String<'a>>) -> Self
[src]
pub fn icon(self, value: impl Into<Icon<'a>>) -> Self
[src]
pub fn valid(self, value: impl Into<bool>) -> Self
[src]
pub fn matches(self, value: impl Into<String<'a>>) -> Self
[src]
pub fn autocomplete(self, value: impl Into<String<'a>>) -> Self
[src]
pub fn kind(self, value: impl Into<Kind>) -> Self
[src]
pub fn text(self, value: impl Into<Text<'a>>) -> Self
[src]
pub fn quicklook_url(self, value: impl Into<String<'a>>) -> Self
[src]
pub fn modifier(self, key: ModifierKey, data: ModifierData<'a>) -> Self
[src]
Trait Implementations
impl<'a> Eq for Item<'a>
[src]
impl<'a> StructuralEq for Item<'a>
[src]
impl<'a> StructuralPartialEq for Item<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for Item<'a>
impl<'a> Send for Item<'a>
impl<'a> Sync for Item<'a>
impl<'a> Unpin for Item<'a>
impl<'a> UnwindSafe for Item<'a>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more