[][src]Struct purezen::message::object::connection::list::List

pub struct List { /* fields omitted */ }

Lists of connections to other objects for a given inlet/outlet

Methods

impl List[src]

pub fn new() -> Self[src]

Create a new connection::List

pub fn push_back(&mut self, connection: Connection) -> Result<(), Error>[src]

Append an element onto the end of this connection::List

pub fn remove(&mut self, connection: Connection) -> Result<(), Error>[src]

Remove a connection from this connection::List

Panics if the connection wasn't found

Important traits for Iter<'a>
pub fn iter(&self) -> Iter[src]

Iterate over this connection list

pub fn len(&self) -> usize[src]

Get the length of this list

pub fn is_empty(&self) -> bool[src]

Is this list empty?

Trait Implementations

impl Clone for List[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for List[src]

impl Default for List[src]

Auto Trait Implementations

impl Send for List

impl Sync for List

Blanket Implementations

impl<T> From for T[src]

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

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

type Owned = T

impl<T> Same for T[src]

type Output = T

Should always be Self