pub enum AffineMap {
Identity(usize),
Constant,
Custom(String),
}Expand description
Affine map representation for MemRef and Affine dialect operations.
Variants§
Identity(usize)
Identity map: (d0, d1) -> (d0, d1)
Constant
Constant map: () -> ()
Custom(String)
Custom affine map expression string
Trait Implementations§
impl StructuralPartialEq for AffineMap
Auto Trait Implementations§
impl Freeze for AffineMap
impl RefUnwindSafe for AffineMap
impl Send for AffineMap
impl Sync for AffineMap
impl Unpin for AffineMap
impl UnsafeUnpin for AffineMap
impl UnwindSafe for AffineMap
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