Struct identity::lift::Const
[−]
[src]
pub struct Const<X: ?Sized> { // some fields omitted }
Type-level K combinator.
Trait Implementations
impl<X: ?Sized> Debug for Const<X>
[src]
impl<X: ?Sized> Clone for Const<X>
[src]
fn clone(&self) -> Self
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<X: ?Sized> Copy for Const<X>
[src]
impl<X: ?Sized> Default for Const<X>
[src]
impl<X: ?Sized> Hash for Const<X>
[src]
fn hash<H>(&self, state: &mut H) where H: Hasher
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.