pub struct Value(/* private fields */);
Implementations§
Source§impl Value
impl Value
pub fn new_null() -> Self
pub fn dump(&self)
pub fn get(&self) -> &MlirValue
pub fn get_arg_owner(&self) -> Block ⓘ
pub fn get_arg_pos(&self) -> isize
pub fn get_mut(&mut self) -> &mut MlirValue
pub fn get_result_owner(&self) -> Operation ⓘ
pub fn get_type(&self) -> Type
pub fn has_owner(&self) -> bool
pub fn is_argument(&self) -> bool
pub fn is_null(&self) -> bool
pub fn is_result(&self) -> bool
pub fn iter(&self) -> ValueIter<'_> ⓘ
pub fn print(&self, state: &mut StringCallbackState)
pub fn set_arg_type(&mut self, t: &Type)
pub fn set_type(&mut self, t: &Type)
pub fn replace(&mut self, value: &Value)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Value
impl RefUnwindSafe for Value
impl !Send for Value
impl !Sync for Value
impl Unpin for Value
impl UnwindSafe for Value
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