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
identifier: &'a Identifier<K>
Identifies the connection
data: &'b mut Data<C>
Data which can be used for the connection
Methods
impl<'a, 'b, K, C> Connection<'a, 'b, K, C>
[src]
fn new(identifier: &'a Identifier<K>, data: &'b mut Data<C>) -> Self
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]
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]
fn eq(&self, __arg_0: &Connection<'a, 'b, K, C>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Connection<'a, 'b, K, C>) -> bool
This method tests for !=
.