pub struct Vector(/* private fields */);
Implementations§
Source§impl Vector
impl Vector
pub fn new(shape: &dyn Shape, t: &Type) -> Self
pub fn new_checked(shape: &dyn Shape, t: &Type, loc: &Location) -> Self
pub fn new_checked_scalable( shape: &dyn Shape, t: &Type, is_scalable: &[bool], loc: &Location, ) -> Self
pub fn new_scalable(shape: &dyn Shape, t: &Type, is_scalable: &[bool]) -> Self
pub fn from_type(t: &Type) -> Self
pub fn as_shaped(&self) -> Shaped
pub fn get(&self) -> &MlirType
pub fn get_matching_suffix(&self, other: &Self) -> Option<Self>
pub fn get_mut(&mut self) -> &mut MlirType
pub fn get_type_id() -> TypeID
pub fn is_scalable(&self) -> bool
pub fn is_scalable_dim(&self, i: isize) -> bool
Trait Implementations§
Source§impl NewElementType for Vector
impl NewElementType for Vector
fn new_element_type(other: &Self, t: &Type) -> Self
Auto Trait Implementations§
impl Freeze for Vector
impl RefUnwindSafe for Vector
impl !Send for Vector
impl !Sync for Vector
impl Unpin for Vector
impl UnwindSafe for Vector
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