Struct identity::lift::Id [] [src]

pub struct Id;

Type-level I combinator.

Trait Implementations

impl Hash for Id
[src]

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

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 Default for Id
[src]

fn default() -> Id

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

impl Copy for Id
[src]

impl Clone for Id
[src]

fn clone(&self) -> Id

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 Debug for Id
[src]

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

Formats the value using the given formatter.

impl<Param: ?Sized> TyFun<Param> for Id
[src]

type Result = Param