pub struct Tuple(/* private fields */);
Implementations§
Source§impl Tuple
impl Tuple
pub fn new(context: &Context, elements: &[Type]) -> Self
pub fn from_type(t: &Type) -> Self
pub fn get(&self) -> &MlirType
pub fn get_mut(&mut self) -> &mut MlirType
pub fn get_type(&self, i: isize) -> Type
pub fn get_type_id() -> TypeID
pub fn num_types(&self) -> isize
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Tuple
impl RefUnwindSafe for Tuple
impl !Send for Tuple
impl !Sync for Tuple
impl Unpin for Tuple
impl UnwindSafe for Tuple
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