Struct elba::index::Dep [−][src]
pub struct Dep<T> { pub name: Name, pub index: T, pub req: Constraint, }
A dependency.
Fields
name: Name
index: T
req: Constraint
Trait Implementations
impl<T: Clone> Clone for Dep<T>
[src]
impl<T: Clone> Clone for Dep<T>
fn clone(&self) -> Dep<T>
[src]
fn clone(&self) -> Dep<T>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<T: Debug> Debug for Dep<T>
[src]
impl<T: Debug> Debug for Dep<T>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<T: PartialEq> PartialEq for Dep<T>
[src]
impl<T: PartialEq> PartialEq for Dep<T>
fn eq(&self, other: &Dep<T>) -> bool
[src]
fn eq(&self, other: &Dep<T>) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Dep<T>) -> bool
[src]
fn ne(&self, other: &Dep<T>) -> bool
This method tests for !=
.
impl<T: Eq> Eq for Dep<T>
[src]
impl<T: Eq> Eq for Dep<T>