[][src]Struct dbus::arg::Array

pub struct Array<'a, T, I>(_, _);

Represents a D-Bus Array. Maximum flexibility (wraps an iterator of items to append).

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

Methods

impl<'a, T: 'a, I: Iterator<Item = T>> Array<'a, T, I>[src]

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

Creates a new Array from an iterator.

Trait Implementations

impl<'a, T: Arg, I> Arg for Array<'a, T, I>[src]

impl<'a, T: 'a + Arg + Append, I: Iterator<Item = T> + Clone> Append for Array<'a, T, I>[src]

impl<'a, T: Arg + Get<'a>> Get<'a> for Array<'a, T, Iter<'a>>[src]

impl<'a, T: 'a + Arg + Debug + RefArg, I: Debug + Clone + Iterator<Item = &'a T>> RefArg for Array<'static, T, I>[src]

impl<'a, T: Clone, I: Clone> Clone for Array<'a, T, I>[src]

impl<'a, T: Copy, I: Copy> Copy for Array<'a, T, I>[src]

impl<'a, T: Get<'a>> Iterator for Array<'a, T, Iter<'a>>[src]

type Item = T

The type of the elements being iterated over.

impl<'a, T: Debug, I: Debug> Debug for Array<'a, T, I>[src]

Auto Trait Implementations

impl<'a, T, I> !Send for Array<'a, T, I>

impl<'a, T, I> Unpin for Array<'a, T, I> where
    I: Unpin

impl<'a, T, I> !Sync for Array<'a, T, I>

impl<'a, T, I> UnwindSafe for Array<'a, T, I> where
    I: UnwindSafe,
    T: RefUnwindSafe

impl<'a, T, I> RefUnwindSafe for Array<'a, T, I> where
    I: RefUnwindSafe,
    T: 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]