pub struct IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, A0> { /* private fields */ }
Expand description
A builder for an index_switch
operation.
Implementations§
source§impl<'c> IndexSwitchOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
impl<'c> IndexSwitchOperationBuilder<'c, Unset, Unset, Unset, Unset, Unset>
source§impl<'c, O0, R0, R1, A0> IndexSwitchOperationBuilder<'c, Unset, O0, R0, R1, A0>
impl<'c, O0, R0, R1, A0> IndexSwitchOperationBuilder<'c, Unset, O0, R0, R1, A0>
pub fn results( self, results: &[Type<'c>] ) -> IndexSwitchOperationBuilder<'c, Set, O0, R0, R1, A0>
source§impl<'c, T0, R0, R1, A0> IndexSwitchOperationBuilder<'c, T0, Unset, R0, R1, A0>
impl<'c, T0, R0, R1, A0> IndexSwitchOperationBuilder<'c, T0, Unset, R0, R1, A0>
pub fn arg( self, arg: Value<'c, '_> ) -> IndexSwitchOperationBuilder<'c, T0, Set, R0, R1, A0>
source§impl<'c, T0, O0, R1, A0> IndexSwitchOperationBuilder<'c, T0, O0, Unset, R1, A0>
impl<'c, T0, O0, R1, A0> IndexSwitchOperationBuilder<'c, T0, O0, Unset, R1, A0>
pub fn default_region( self, default_region: Region<'c> ) -> IndexSwitchOperationBuilder<'c, T0, O0, Set, R1, A0>
source§impl<'c, T0, O0, A0> IndexSwitchOperationBuilder<'c, T0, O0, Set, Unset, A0>
impl<'c, T0, O0, A0> IndexSwitchOperationBuilder<'c, T0, O0, Set, Unset, A0>
pub fn case_regions( self, case_regions: Vec<Region<'c>> ) -> IndexSwitchOperationBuilder<'c, T0, O0, Set, Set, A0>
source§impl<'c, T0, O0, R0, R1> IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, Unset>
impl<'c, T0, O0, R0, R1> IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, Unset>
pub fn cases( self, cases: Attribute<'c> ) -> IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, Set>
source§impl<'c> IndexSwitchOperationBuilder<'c, Set, Set, Set, Set, Set>
impl<'c> IndexSwitchOperationBuilder<'c, Set, Set, Set, Set, Set>
pub fn build(self) -> IndexSwitchOperation<'c>
Auto Trait Implementations§
impl<'c, T0, O0, R0, R1, A0> RefUnwindSafe for IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, A0>where
A0: RefUnwindSafe,
O0: RefUnwindSafe,
R0: RefUnwindSafe,
R1: RefUnwindSafe,
T0: RefUnwindSafe,
impl<'c, T0, O0, R0, R1, A0> !Send for IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, A0>
impl<'c, T0, O0, R0, R1, A0> !Sync for IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, A0>
impl<'c, T0, O0, R0, R1, A0> Unpin for IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, A0>
impl<'c, T0, O0, R0, R1, A0> UnwindSafe for IndexSwitchOperationBuilder<'c, T0, O0, R0, R1, A0>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more