[][src]Struct dbus::arg::Dict

pub struct Dict<'a, K: DictKey, V: Arg, I>(_, _);

Append a D-Bus dict type (i e, an array of dict entries).

See the argument guide and module level documentation for details and alternatives.

Methods

impl<'a, K: 'a + DictKey, V: 'a + Append + Arg, I: Iterator<Item = (K, V)>> Dict<'a, K, V, I>[src]

Important traits for Dict<'a, K, V, Iter<'a>>
pub fn new<J: IntoIterator<IntoIter = I, Item = (K, V)>>(
    j: J
) -> Dict<'a, K, V, I>
[src]

Creates a new Dict from an iterator.

Trait Implementations

impl<'a, K: DictKey, V: Arg, I> Arg for Dict<'a, K, V, I>[src]

impl<'a, K: 'a + DictKey + Append, V: 'a + Append + Arg, I: Iterator<Item = (K, V)> + Clone> Append for Dict<'a, K, V, I>[src]

impl<'a, K: DictKey + Get<'a>, V: Arg + Get<'a>> Get<'a> for Dict<'a, K, V, Iter<'a>>[src]

impl<'a, K: Clone + DictKey, V: Clone + Arg, I: Clone> Clone for Dict<'a, K, V, I>[src]

impl<'a, K: Copy + DictKey, V: Copy + Arg, I: Copy> Copy for Dict<'a, K, V, I>[src]

impl<'a, K: DictKey + Get<'a>, V: Arg + Get<'a>> Iterator for Dict<'a, K, V, Iter<'a>>[src]

type Item = (K, V)

The type of the elements being iterated over.

impl<'a, K: Debug + DictKey, V: Debug + Arg, I: Debug> Debug for Dict<'a, K, V, I>[src]

Auto Trait Implementations

impl<'a, K, V, I> !Send for Dict<'a, K, V, I>

impl<'a, K, V, I> Unpin for Dict<'a, K, V, I> where
    I: Unpin

impl<'a, K, V, I> !Sync for Dict<'a, K, V, I>

impl<'a, K, V, I> UnwindSafe for Dict<'a, K, V, I> where
    I: UnwindSafe,
    K: RefUnwindSafe,
    V: RefUnwindSafe

impl<'a, K, V, I> RefUnwindSafe for Dict<'a, K, V, I> where
    I: RefUnwindSafe,
    K: RefUnwindSafe,
    V: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]