Struct yasna::SetOf [] [src]

pub struct SetOf<T> {
    pub vec: Vec<T>,
}

Fields

vec: Vec<T>

Methods

impl<T> SetOf<T>
[src]

fn new() -> Self

Trait Implementations

impl<T: Hash> Hash for SetOf<T>
[src]

fn hash<__HT: Hasher>(&self, __arg_0: &mut __HT)

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl<T: PartialEq> PartialEq for SetOf<T>
[src]

fn eq(&self, __arg_0: &SetOf<T>) -> bool

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

fn ne(&self, __arg_0: &SetOf<T>) -> bool

This method tests for !=.

impl<T: Eq> Eq for SetOf<T>
[src]

impl<T: Clone> Clone for SetOf<T>
[src]

fn clone(&self) -> SetOf<T>

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<T: Debug> Debug for SetOf<T>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl<T> FromBER for SetOf<T> where T: Sized + Eq + Hash + FromBER
[src]

fn from_ber<'a, 'b>(reader: BERReader<'a, 'b>) -> ASN1Result<Self>

fn deserialize_ber_general(src: &[u8], mode: BERMode) -> ASN1Result<Self>