Struct path::Connection [] [src]

pub struct Connection<'a, 'b, K: 'a, C: 'b> {
    pub identifier: &'a Identifier<K>,
    pub data: &'b mut Data<C>,
}

Connection representation

Fields

Identifies the connection

Data which can be used for the connection

Methods

impl<'a, 'b, K, C> Connection<'a, 'b, K, C>
[src]

Create a new Connection from an Identifier and Data

Trait Implementations

impl<'a, 'b, K: Debug + 'a, C: Debug + 'b> Debug for Connection<'a, 'b, K, C>
[src]

Formats the value using the given formatter.

impl<'a, 'b, K: Eq + 'a, C: Eq + 'b> Eq for Connection<'a, 'b, K, C>
[src]

impl<'a, 'b, K: PartialEq + 'a, C: PartialEq + 'b> PartialEq for Connection<'a, 'b, K, C>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a, 'b, K, C> Display for Connection<'a, 'b, K, C> where K: Debug
[src]

Formats the value using the given formatter.