pub struct FromElements(/* private fields */);
Implementations§
Source§impl FromElements
impl FromElements
pub fn new(t: &RankedTensor, elements: &[Value], loc: &Location) -> Self
pub fn from(op: MlirOperation) -> Self
pub fn get(&self) -> &MlirOperation
pub fn get_mut(&mut self) -> &mut MlirOperation
pub fn get_result(&self) -> Value
pub fn get_size_at_index(&self, i: isize) -> Value
Trait Implementations§
Source§impl Clone for FromElements
impl Clone for FromElements
Source§fn clone(&self) -> FromElements
fn clone(&self) -> FromElements
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 IOperation for FromElements
impl IOperation for FromElements
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 FromElements
impl RefUnwindSafe for FromElements
impl !Send for FromElements
impl !Sync for FromElements
impl Unpin for FromElements
impl UnwindSafe for FromElements
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