pub struct AttrKey<T> { /* private fields */ }Expand description
C++ ffi::reflection::AttrKey<T>: the name of an operator attribute and the type of its
values, which OpDef::set_attr takes. op_attr and
tirx::op_attr have the keys C++ declares, and AttrKey::new names
another.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for AttrKey<T>
impl<T> RefUnwindSafe for AttrKey<T>
impl<T> Send for AttrKey<T>
impl<T> Sync for AttrKey<T>
impl<T> Unpin for AttrKey<T>
impl<T> UnwindSafe for AttrKey<T>
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