pub struct UnrankedMemRef(/* private fields */);
Implementations§
Source§impl UnrankedMemRef
impl UnrankedMemRef
pub fn new(t: &Type, memory_space: &impl NamedMemorySpace) -> Self
pub fn new_checked( t: &Type, memory_space: &impl NamedMemorySpace, loc: &Location, ) -> Self
pub fn as_shaped(&self) -> Shaped
pub fn from_type(t: &Type) -> Self
pub fn get(&self) -> &MlirType
pub fn get_memory_space<T: NamedMemorySpace>(&self) -> T
pub fn get_memory_space_attribute(&self) -> MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirType
pub fn get_type_id() -> TypeID
Trait Implementations§
Source§impl Clone for UnrankedMemRef
impl Clone for UnrankedMemRef
Source§fn clone(&self) -> UnrankedMemRef
fn clone(&self) -> UnrankedMemRef
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl From<&Type> for UnrankedMemRef
impl From<&Type> for UnrankedMemRef
Source§impl From<MlirType> for UnrankedMemRef
impl From<MlirType> for UnrankedMemRef
Source§impl From<Type> for UnrankedMemRef
impl From<Type> for UnrankedMemRef
Source§impl IType for UnrankedMemRef
impl IType for UnrankedMemRef
Source§impl NewElementType for UnrankedMemRef
impl NewElementType for UnrankedMemRef
fn new_element_type(other: &Self, t: &Type) -> Self
Auto Trait Implementations§
impl Freeze for UnrankedMemRef
impl RefUnwindSafe for UnrankedMemRef
impl !Send for UnrankedMemRef
impl !Sync for UnrankedMemRef
impl Unpin for UnrankedMemRef
impl UnwindSafe for UnrankedMemRef
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