Struct llvm_ir::constant::GetElementPtr
source · [−]pub struct GetElementPtr {
pub address: ConstantRef,
pub indices: Vec<ConstantRef>,
pub in_bounds: bool,
}
Fields
address: ConstantRef
indices: Vec<ConstantRef>
in_bounds: bool
Trait Implementations
sourceimpl Clone for GetElementPtr
impl Clone for GetElementPtr
sourcefn clone(&self) -> GetElementPtr
fn clone(&self) -> GetElementPtr
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GetElementPtr
impl Debug for GetElementPtr
sourceimpl Display for GetElementPtr
impl Display for GetElementPtr
sourceimpl From<GetElementPtr> for Constant
impl From<GetElementPtr> for Constant
sourcefn from(expr: GetElementPtr) -> Constant
fn from(expr: GetElementPtr) -> Constant
Converts to this type from the input type.
sourceimpl PartialEq<GetElementPtr> for GetElementPtr
impl PartialEq<GetElementPtr> for GetElementPtr
sourcefn eq(&self, other: &GetElementPtr) -> bool
fn eq(&self, other: &GetElementPtr) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl TryFrom<Constant> for GetElementPtr
impl TryFrom<Constant> for GetElementPtr
impl StructuralPartialEq for GetElementPtr
Auto Trait Implementations
impl RefUnwindSafe for GetElementPtr
impl Send for GetElementPtr
impl Sync for GetElementPtr
impl Unpin for GetElementPtr
impl UnwindSafe for GetElementPtr
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more