pub struct SymbolTable(/* private fields */);
Implementations§
Source§impl SymbolTable
impl SymbolTable
pub fn new(op: &Operation) -> Self
pub fn get(&self) -> &MlirSymbolTable
pub fn get_mut(&mut self) -> &mut MlirSymbolTable
pub fn get_symbol_attribute_name() -> StringRef
pub fn get_visibility_attribute_name() -> StringRef
pub fn erase(&mut self, op: &Operation)
pub fn is_null(&self) -> bool
pub fn lookup(&self, name: &StringRef) -> Operation ⓘ
Trait Implementations§
Source§impl Clone for SymbolTable
impl Clone for SymbolTable
Source§fn clone(&self) -> SymbolTable
fn clone(&self) -> SymbolTable
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<MlirSymbolTable> for SymbolTable
impl From<MlirSymbolTable> for SymbolTable
Source§fn from(table: MlirSymbolTable) -> Self
fn from(table: MlirSymbolTable) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SymbolTable
impl RefUnwindSafe for SymbolTable
impl !Send for SymbolTable
impl !Sync for SymbolTable
impl Unpin for SymbolTable
impl UnwindSafe for SymbolTable
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