pub struct Operator<'a>(/* private fields */);Expand description
Borrowed operator view.
Implementations§
Source§impl<'a> Operator<'a>
impl<'a> Operator<'a>
pub fn op(&self) -> Op
pub fn attribute_kind(&self) -> AttributeKind
Sourcepub fn attributes(&self) -> OpAttributes<'a>
pub fn attributes(&self) -> OpAttributes<'a>
Safe view of every field in this operator’s stable TOSA 1.0 attribute table.
pub fn inputs(&self) -> StringList<'a> ⓘ
pub fn outputs(&self) -> StringList<'a> ⓘ
pub fn location(&self) -> Option<&'a str>
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Operator<'a>
impl<'a> RefUnwindSafe for Operator<'a>
impl<'a> Send for Operator<'a>
impl<'a> Sync for Operator<'a>
impl<'a> Unpin for Operator<'a>
impl<'a> UnsafeUnpin for Operator<'a>
impl<'a> UnwindSafe for Operator<'a>
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