pub struct Dim(/* private fields */);
Implementations§
Source§impl Dim
impl Dim
pub fn new(context: &Context, i: isize) -> Self
pub fn from_checked(expr: MlirAffineExpr) -> Self
pub fn get(&self) -> &MlirAffineExpr
pub fn get_position(&self) -> isize
pub fn get_mut(&mut self) -> &mut MlirAffineExpr
Trait Implementations§
Source§impl From<MlirAffineExpr> for Dim
impl From<MlirAffineExpr> for Dim
Source§fn from(expr: MlirAffineExpr) -> Self
fn from(expr: MlirAffineExpr) -> Self
Converts to this type from the input type.
impl Copy for Dim
Auto Trait Implementations§
impl Freeze for Dim
impl RefUnwindSafe for Dim
impl !Send for Dim
impl !Sync for Dim
impl Unpin for Dim
impl UnwindSafe for Dim
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