pub struct Func(/* private fields */);
Implementations§
Source§impl Func
impl Func
pub fn new( t: &FunctionType, f_name: &StringRef, visibility: SymbolVisibilityKind, attr_args: Option<&Arguments>, attr_results: Option<&Results>, loc: &Location, ) -> Self
pub fn from(op: MlirOperation) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_arguments(&self) -> Option<Arguments>
pub fn get_context(&self) -> Context
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_function_attribute(&self) -> FunctionAttr
pub fn get_function_type(&self) -> FunctionType
pub fn get_symbol_name(&self) -> SymbolName
pub fn get_symbol_ref(&self) -> SymbolRef
pub fn get_result_attributes(&self) -> Option<Results>
pub fn get_visibility(&self) -> Option<SymbolVisibility>
Trait Implementations§
Source§impl IOperation for Func
impl IOperation for Func
fn get(&self) -> &MlirOperation
fn get_dialect(&self) -> Dialect
fn get_effects(&self) -> MemoryEffectList
fn get_interfaces(&self) -> &'static [Interface]
fn get_mut(&mut self) -> &mut MlirOperation
fn get_name(&self) -> &'static str
fn get_op(&self) -> OpRef
fn get_traits(&self) -> &'static [Trait]
fn as_operation(&self) -> Operation ⓘ
Auto Trait Implementations§
impl Freeze for Func
impl RefUnwindSafe for Func
impl !Send for Func
impl !Sync for Func
impl Unpin for Func
impl UnwindSafe for Func
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