pub struct UnpackOperationBuilder<'c, T0, T1, T2, T3, O0, O1, O2> { /* private fields */ }
Expand description

A builder for an unpack operation.

Implementations§

source§

impl<'c> UnpackOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset, Unset, Unset>

source

pub fn new(context: &'c Context, location: Location<'c>) -> Self

source§

impl<'c, T1, T2, T3, O0, O1, O2> UnpackOperationBuilder<'c, Unset, T1, T2, T3, O0, O1, O2>

source

pub fn ret_values( self, ret_values: Type<'c> ) -> UnpackOperationBuilder<'c, Set, T1, T2, T3, O0, O1, O2>

source§

impl<'c, T2, T3, O0, O1, O2> UnpackOperationBuilder<'c, Set, Unset, T2, T3, O0, O1, O2>

source

pub fn ret_levels( self, ret_levels: &[Type<'c>] ) -> UnpackOperationBuilder<'c, Set, Set, T2, T3, O0, O1, O2>

source§

impl<'c, T3, O0, O1, O2> UnpackOperationBuilder<'c, Set, Set, Unset, T3, O0, O1, O2>

source

pub fn val_len( self, val_len: Type<'c> ) -> UnpackOperationBuilder<'c, Set, Set, Set, T3, O0, O1, O2>

source§

impl<'c, O0, O1, O2> UnpackOperationBuilder<'c, Set, Set, Set, Unset, O0, O1, O2>

source

pub fn lvl_lens( self, lvl_lens: &[Type<'c>] ) -> UnpackOperationBuilder<'c, Set, Set, Set, Set, O0, O1, O2>

source§

impl<'c, T0, T1, T2, T3, O1, O2> UnpackOperationBuilder<'c, T0, T1, T2, T3, Unset, O1, O2>

source

pub fn tensor( self, tensor: Value<'c, '_> ) -> UnpackOperationBuilder<'c, T0, T1, T2, T3, Set, O1, O2>

source§

impl<'c, T0, T1, T2, T3, O2> UnpackOperationBuilder<'c, T0, T1, T2, T3, Set, Unset, O2>

source

pub fn out_values( self, out_values: Value<'c, '_> ) -> UnpackOperationBuilder<'c, T0, T1, T2, T3, Set, Set, O2>

source§

impl<'c, T0, T1, T2, T3> UnpackOperationBuilder<'c, T0, T1, T2, T3, Set, Set, Unset>

source

pub fn out_levels( self, out_levels: &[Value<'c, '_>] ) -> UnpackOperationBuilder<'c, T0, T1, T2, T3, Set, Set, Set>

source§

impl<'c> UnpackOperationBuilder<'c, Set, Set, Set, Set, Set, Set, Set>

source

pub fn build(self) -> UnpackOperation<'c>

Auto Trait Implementations§

§

impl<'c, T0, T1, T2, T3, O0, O1, O2> RefUnwindSafe for UnpackOperationBuilder<'c, T0, T1, T2, T3, O0, O1, O2>

§

impl<'c, T0, T1, T2, T3, O0, O1, O2> !Send for UnpackOperationBuilder<'c, T0, T1, T2, T3, O0, O1, O2>

§

impl<'c, T0, T1, T2, T3, O0, O1, O2> !Sync for UnpackOperationBuilder<'c, T0, T1, T2, T3, O0, O1, O2>

§

impl<'c, T0, T1, T2, T3, O0, O1, O2> Unpin for UnpackOperationBuilder<'c, T0, T1, T2, T3, O0, O1, O2>
where O0: Unpin, O1: Unpin, O2: Unpin, T0: Unpin, T1: Unpin, T2: Unpin, T3: Unpin,

§

impl<'c, T0, T1, T2, T3, O0, O1, O2> UnwindSafe for UnpackOperationBuilder<'c, T0, T1, T2, T3, O0, O1, O2>
where O0: UnwindSafe, O1: UnwindSafe, O2: UnwindSafe, T0: UnwindSafe, T1: UnwindSafe, T2: UnwindSafe, T3: 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, U> TryFrom<U> for T
where U: Into<T>,

§

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>,

§

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.