Struct hlist_macro::HCons [] [src]

pub struct HCons<H, T>(pub H, pub T);

Trait Implementations

impl<H: Debug, T: Debug> Debug for HCons<H, T>
[src]

Formats the value using the given formatter.

impl<H: Default, T: Default> Default for HCons<H, T>
[src]

Returns the "default value" for a type. Read more

impl<H: Copy, T: Copy> Copy for HCons<H, T>
[src]

impl<H: Clone, T: Clone> Clone for HCons<H, T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<H: Eq, T: Eq> Eq for HCons<H, T>
[src]

impl<H: PartialEq, T: PartialEq> PartialEq for HCons<H, T>
[src]

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

This method tests for !=.

impl<H: Ord, T: Ord> Ord for HCons<H, T>
[src]

This method returns an Ordering between self and other. Read more

impl<H: PartialOrd, T: PartialOrd> PartialOrd for HCons<H, T>
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<H: Hash, T: Hash> Hash for HCons<H, T>
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more