pub struct Punctuation(/* private fields */);
Implementations§
Source§impl Punctuation
impl Punctuation
pub fn new(context: &Context, k: PunctuationKind) -> Self
pub fn get(&self) -> &MlirAttribute
pub fn get_mut(&mut self) -> &mut MlirAttribute
pub fn get_kind(&self) -> PunctuationKind
Trait Implementations§
Source§impl Clone for Punctuation
impl Clone for Punctuation
Source§fn clone(&self) -> Punctuation
fn clone(&self) -> Punctuation
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 Punctuation
impl From<MlirAttribute> for Punctuation
Source§fn from(attr: MlirAttribute) -> Self
fn from(attr: MlirAttribute) -> Self
Converts to this type from the input type.
Source§impl IAttribute for Punctuation
impl IAttribute for Punctuation
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 Punctuation
impl IAttributeNamed for Punctuation
Source§impl NamedParsed for Punctuation
impl NamedParsed for Punctuation
fn new(context: &Context, s: &StringRef) -> Self
fn new_custom(context: &Context, cad: &CustomAttributeData) -> Self
Auto Trait Implementations§
impl Freeze for Punctuation
impl RefUnwindSafe for Punctuation
impl !Send for Punctuation
impl !Sync for Punctuation
impl Unpin for Punctuation
impl UnwindSafe for Punctuation
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