pub struct ArrayType<'ctx>(/* private fields */);Expand description
Implementations§
Source§impl<'ctx> ArrayType<'ctx>
impl<'ctx> ArrayType<'ctx>
Sourcepub fn element_type(&self) -> Type<'ctx>
pub fn element_type(&self) -> Type<'ctx>
Get the element_type of the Array Type
Sourcepub fn num_elements(&self) -> usize
pub fn num_elements(&self) -> usize
Get the number of elements in the Array Type
Trait Implementations§
impl<'ctx> Copy for ArrayType<'ctx>
impl<'ctx> Eq for ArrayType<'ctx>
impl<'ctx> Send for ArrayType<'ctx>
impl<'ctx> StructuralPartialEq for ArrayType<'ctx>
impl<'ctx> Sync for ArrayType<'ctx>
Auto Trait Implementations§
impl<'ctx> Freeze for ArrayType<'ctx>
impl<'ctx> RefUnwindSafe for ArrayType<'ctx>
impl<'ctx> Unpin for ArrayType<'ctx>
impl<'ctx> UnwindSafe for ArrayType<'ctx>
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