#[non_exhaustive]pub enum OpAttributeKind {
Boolean,
SignedInteger,
UnsignedInteger,
Float,
String,
Shape,
Enum,
}Expand description
Stable type tag for a non-value operation attribute.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Boolean
Boolean value.
SignedInteger
Signed integer value.
UnsignedInteger
Unsigned integer value.
Float
Floating-point value.
String
Free-form UTF-8 string.
Shape
Matrix shape.
Enum
Symbolic enum value.
Implementations§
Trait Implementations§
Source§impl Clone for OpAttributeKind
impl Clone for OpAttributeKind
impl Copy for OpAttributeKind
Source§impl Debug for OpAttributeKind
impl Debug for OpAttributeKind
impl Eq for OpAttributeKind
Source§impl PartialEq for OpAttributeKind
impl PartialEq for OpAttributeKind
impl StructuralPartialEq for OpAttributeKind
Auto Trait Implementations§
impl Forget for OpAttributeKind
impl Freeze for OpAttributeKind
impl Move for OpAttributeKind
impl RefUnwindSafe for OpAttributeKind
impl Send for OpAttributeKind
impl Sync for OpAttributeKind
impl Unpin for OpAttributeKind
impl UnsafeUnpin for OpAttributeKind
impl UnwindSafe for OpAttributeKind
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