[−][src]Struct llhd::ArrayAggregate
An array aggregate value such as [42 x i64 1337]
.
Methods
impl ArrayAggregate
[src]
pub fn new(ty: Type, elements: Vec<ValueRef>) -> ArrayAggregate
[src]
Create a new array aggregate value.
Constructs a new array aggregate value with the given elements
. The
length of elements
must match the number of elements in ty
, and ty
must be an array type.
pub fn ty(&self) -> &Type
[src]
Get the type of the array.
pub fn elements(&self) -> &[ValueRef]
[src]
Get the elements of the array.
pub fn fields_mut(&mut self) -> &mut [ValueRef]
[src]
Get a mutable reference to the elements of the array.
Trait Implementations
impl From<ArrayAggregate> for AggregateKind
[src]
fn from(a: ArrayAggregate) -> AggregateKind
[src]
impl Eq for ArrayAggregate
[src]
impl Clone for ArrayAggregate
[src]
fn clone(&self) -> ArrayAggregate
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<ArrayAggregate> for ArrayAggregate
[src]
fn eq(&self, other: &ArrayAggregate) -> bool
[src]
fn ne(&self, other: &ArrayAggregate) -> bool
[src]
impl Debug for ArrayAggregate
[src]
Auto Trait Implementations
impl Send for ArrayAggregate
impl Sync for ArrayAggregate
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,