[−][src]Enum bitbar::Params
BitBar only supports up to five parameters for bash=
commands (see https://github.com/matryer/bitbar/issues/490).
Variants
Just a command, no arguments.
A command and 1 argument.
A command and 2 arguments.
A command and 3 arguments.
A command and 4 arguments.
A command and 5 arguments.
Implementations
impl Params
[src]
pub fn iter(&self) -> impl Iterator<Item = &String>
[src]
Iterates over the command and any arguments in order.
Trait Implementations
impl Debug for Params
[src]
impl<T: ToString> From<[T; 1]> for Params
[src]
impl<T: ToString> From<[T; 2]> for Params
[src]
impl<T: ToString> From<[T; 3]> for Params
[src]
impl<T: ToString> From<[T; 4]> for Params
[src]
impl<T: ToString> From<[T; 5]> for Params
[src]
impl<T: ToString> From<[T; 6]> for Params
[src]
impl<A: ToString, B: ToString, C: ToString, D: ToString, E: ToString, F: ToString> From<(A, B, C, D, E, F)> for Params
[src]
impl<A: ToString, B: ToString, C: ToString, D: ToString, E: ToString> From<(A, B, C, D, E)> for Params
[src]
impl<A: ToString, B: ToString, C: ToString, D: ToString> From<(A, B, C, D)> for Params
[src]
impl<A: ToString, B: ToString, C: ToString> From<(A, B, C)> for Params
[src]
impl<A: ToString, B: ToString> From<(A, B)> for Params
[src]
impl<A: ToString> From<(A,)> for Params
[src]
impl<'a, T: ToString> TryFrom<&'a [T]> for Params
[src]
type Error = &'a [T]
The type returned in the event of a conversion error.
pub fn try_from(slice: &[T]) -> Result<Params, &[T]>
[src]
impl<T: ToString> TryFrom<Vec<T, Global>> for Params
[src]
Auto Trait Implementations
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> SetParameter for T
pub fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
T: Parameter<Self>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
pub fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,