pub struct InitialValue(/* private fields */);
Implementations§
Source§impl InitialValue
impl InitialValue
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
Trait Implementations§
Source§impl Clone for InitialValue
impl Clone for InitialValue
Source§fn clone(&self) -> InitialValue
fn clone(&self) -> InitialValue
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<MlirAttribute> for InitialValue
impl From<MlirAttribute> for InitialValue
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for InitialValue
impl IAttribute for InitialValue
fn get(&self) -> &MlirAttribute
fn get_mut(&mut self) -> &mut MlirAttribute
fn as_attribute(&self) -> Attribute
fn get_context(&self) -> Context
fn get_type(&self) -> Type
Source§impl IAttributeNamed for InitialValue
impl IAttributeNamed for InitialValue
Source§impl NamedInitialization for InitialValue
impl NamedInitialization for InitialValue
fn new(attr: &Attribute) -> Self
fn new_elements(elements: &Elements) -> Self
fn new_uninitialized(context: &Context) -> Self
fn from_checked(attr: MlirAttribute) -> Self
fn get_elements(&self) -> Option<Elements>
fn is_initialized(&self) -> bool
Auto Trait Implementations§
impl Freeze for InitialValue
impl RefUnwindSafe for InitialValue
impl !Send for InitialValue
impl !Sync for InitialValue
impl Unpin for InitialValue
impl UnwindSafe for InitialValue
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