Absorb

Struct Absorb 

Source
pub struct Absorb<N>(/* private fields */);
Expand description

The type-level Absorb operation

Trait Implementations§

Source§

impl<U, B, N, T> Consume<Absorb<UInt<U, B>>> for Cons<Absorb<N>, T>
where U: Unsigned, B: Bit, N: Unsigned + Sub<UInt<U, B>>, T: List, Cons<Absorb<Diff<N, UInt<U, B>>>, T>: Normalize,

Source§

type Output = <Cons<Absorb<<N as Sub<UInt<U, B>>>::Output>, T> as Normalize>::Output

The output of the consumption
Source§

impl<N, T: List> Consume<Absorb<UTerm>> for Cons<Absorb<N>, T>
where N: Unsigned,

Source§

type Output = Cons<Absorb<N>, T>

The output of the consumption
Source§

impl<N: Debug> Debug for Absorb<N>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<U: Unsigned> ToSpongeOp for Absorb<U>

Source§

fn to_sponge_op() -> SpongeOp

Converts the type-level operation to its term-level representation
Source§

impl<N: Unsigned> IOWord for Absorb<N>

Auto Trait Implementations§

§

impl<N> Freeze for Absorb<N>

§

impl<N> RefUnwindSafe for Absorb<N>
where N: RefUnwindSafe,

§

impl<N> Send for Absorb<N>
where N: Send,

§

impl<N> Sync for Absorb<N>
where N: Sync,

§

impl<N> Unpin for Absorb<N>
where N: Unpin,

§

impl<N> UnwindSafe for Absorb<N>
where N: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.