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§
source§impl Clone for GetElementPtr
impl Clone for GetElementPtr
source§fn clone(&self) -> GetElementPtr
fn clone(&self) -> GetElementPtr
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for GetElementPtr
impl Debug for GetElementPtr
source§impl Display for GetElementPtr
impl Display for GetElementPtr
source§impl From<GetElementPtr> for Constant
impl From<GetElementPtr> for Constant
source§fn from(expr: GetElementPtr) -> Constant
fn from(expr: GetElementPtr) -> Constant
Converts to this type from the input type.
source§impl PartialEq for GetElementPtr
impl PartialEq for GetElementPtr
source§fn 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 ==
.source§impl TryFrom<Constant> for GetElementPtr
impl TryFrom<Constant> for GetElementPtr
impl StructuralPartialEq for GetElementPtr
Auto Trait Implementations§
impl Freeze for GetElementPtr
impl RefUnwindSafe for GetElementPtr
impl Send for GetElementPtr
impl Sync for GetElementPtr
impl Unpin for GetElementPtr
impl UnwindSafe for GetElementPtr
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
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more