pub struct GEPOperationBuilder<'c, T0, T1, T2, T3> { /* private fields */ }
Expand description
A builder for a getelementptr
operation.
Implementations§
source§impl<'c> GEPOperationBuilder<'c, Unset, Unset, Unset, Unset>
impl<'c> GEPOperationBuilder<'c, Unset, Unset, Unset, Unset>
source§impl<'c, T1, T2, T3> GEPOperationBuilder<'c, Unset, T1, T2, T3>
impl<'c, T1, T2, T3> GEPOperationBuilder<'c, Unset, T1, T2, T3>
pub fn res(self, res: Type<'c>) -> GEPOperationBuilder<'c, Set, T1, T2, T3>
source§impl<'c, T0, T2, T3> GEPOperationBuilder<'c, T0, Unset, T2, T3>
impl<'c, T0, T2, T3> GEPOperationBuilder<'c, T0, Unset, T2, T3>
pub fn base( self, base: Value<'c, '_> ) -> GEPOperationBuilder<'c, T0, Set, T2, T3>
source§impl<'c, T0, T1, T3> GEPOperationBuilder<'c, T0, T1, Unset, T3>
impl<'c, T0, T1, T3> GEPOperationBuilder<'c, T0, T1, Unset, T3>
pub fn dynamic_indices( self, dynamic_indices: &[Value<'c, '_>] ) -> GEPOperationBuilder<'c, T0, T1, Set, T3>
source§impl<'c, T0, T1, T2> GEPOperationBuilder<'c, T0, T1, T2, Unset>
impl<'c, T0, T1, T2> GEPOperationBuilder<'c, T0, T1, T2, Unset>
pub fn raw_constant_indices( self, raw_constant_indices: DenseI32ArrayAttribute<'c> ) -> GEPOperationBuilder<'c, T0, T1, T2, Set>
source§impl<'c, T0, T1, T2, T3> GEPOperationBuilder<'c, T0, T1, T2, T3>
impl<'c, T0, T1, T2, T3> GEPOperationBuilder<'c, T0, T1, T2, T3>
pub fn elem_type( self, elem_type: TypeAttribute<'c> ) -> GEPOperationBuilder<'c, T0, T1, T2, T3>
source§impl<'c, T0, T1, T2, T3> GEPOperationBuilder<'c, T0, T1, T2, T3>
impl<'c, T0, T1, T2, T3> GEPOperationBuilder<'c, T0, T1, T2, T3>
pub fn inbounds( self, inbounds: Attribute<'c> ) -> GEPOperationBuilder<'c, T0, T1, T2, T3>
source§impl<'c> GEPOperationBuilder<'c, Set, Set, Set, Set>
impl<'c> GEPOperationBuilder<'c, Set, Set, Set, Set>
pub fn build(self) -> GEPOperation<'c>
Auto Trait Implementations§
impl<'c, T0, T1, T2, T3> RefUnwindSafe for GEPOperationBuilder<'c, T0, T1, T2, T3>
impl<'c, T0, T1, T2, T3> !Send for GEPOperationBuilder<'c, T0, T1, T2, T3>
impl<'c, T0, T1, T2, T3> !Sync for GEPOperationBuilder<'c, T0, T1, T2, T3>
impl<'c, T0, T1, T2, T3> Unpin for GEPOperationBuilder<'c, T0, T1, T2, T3>
impl<'c, T0, T1, T2, T3> UnwindSafe for GEPOperationBuilder<'c, T0, T1, T2, T3>
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