mlir::attributes

Trait IAttributeNamed

Source
pub trait IAttributeNamed: IAttribute {
    // Required method
    fn get_name() -> &'static str
       where Self: Sized;

    // Provided method
    fn as_named_attribute(&self) -> Named
       where Self: Sized { ... }
}

Required Methods§

Source

fn get_name() -> &'static str
where Self: Sized,

Provided Methods§

Source

fn as_named_attribute(&self) -> Named
where Self: Sized,

Trait Implementations§

Source§

impl PartialEq for dyn IAttributeNamed

Source§

fn eq(&self, rhs: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.

Implementors§

Source§

impl IAttributeNamed for Condition

Source§

impl IAttributeNamed for IsDataCache

Source§

impl IAttributeNamed for IsWrite

Source§

impl IAttributeNamed for LocalityHint

Source§

impl IAttributeNamed for LowerBoundGroups

Source§

impl IAttributeNamed for LowerBoundsFor

Source§

impl IAttributeNamed for LowerBoundsParallel

Source§

impl IAttributeNamed for NamedMap

Source§

impl IAttributeNamed for NamedMapSource

Source§

impl IAttributeNamed for NamedMapTag

Source§

impl IAttributeNamed for NamedMapTarget

Source§

impl IAttributeNamed for Reductions

Source§

impl IAttributeNamed for StepFor

Source§

impl IAttributeNamed for StepsParallel

Source§

impl IAttributeNamed for UpperBoundGroups

Source§

impl IAttributeNamed for UpperBoundsFor

Source§

impl IAttributeNamed for UpperBoundsParallel

Source§

impl IAttributeNamed for ArithValue

Source§

impl IAttributeNamed for FastMath

Source§

impl IAttributeNamed for IntegerOverflow

Source§

impl IAttributeNamed for PredicateF

Source§

impl IAttributeNamed for PredicateI

Source§

impl IAttributeNamed for RoundingMode

Source§

impl IAttributeNamed for CaseOperandSegments

Source§

impl IAttributeNamed for CaseValues

Source§

impl IAttributeNamed for Message

Source§

impl IAttributeNamed for DefaultMemorySpace

Source§

impl IAttributeNamed for Dimension

Source§

impl IAttributeNamed for IntegerMemorySpace

Source§

impl IAttributeNamed for MemoryLayout

Source§

impl IAttributeNamed for NonTemporal

Source§

impl IAttributeNamed for OperandSegmentSizes

Source§

impl IAttributeNamed for ResultSegmentSizes

Source§

impl IAttributeNamed for StaticOffsets

Source§

impl IAttributeNamed for StaticSizes

Source§

impl IAttributeNamed for StaticStrides

Source§

impl IAttributeNamed for SymbolName

Source§

impl IAttributeNamed for SymbolVisibility

Source§

impl IAttributeNamed for Arguments

Source§

impl IAttributeNamed for Callee

Source§

impl IAttributeNamed for FunctionAttr

Source§

impl IAttributeNamed for Referee

Source§

impl IAttributeNamed for Results

Source§

impl IAttributeNamed for BoolValue

Source§

impl IAttributeNamed for IndexValue

Source§

impl IAttributeNamed for Predicate

Source§

impl IAttributeNamed for BinaryFunction

Source§

impl IAttributeNamed for Cast

Source§

impl IAttributeNamed for IndexingMaps

Source§

impl IAttributeNamed for IteratorType

Source§

impl IAttributeNamed for mlir::dialects::linalg::Permutation

Source§

impl IAttributeNamed for UnaryFunction

Source§

impl IAttributeNamed for Alignment

Source§

impl IAttributeNamed for GlobalRef

Source§

impl IAttributeNamed for GlobalType

Source§

impl IAttributeNamed for InitialValue

Source§

impl IAttributeNamed for IsConstant

Source§

impl IAttributeNamed for mlir::dialects::memref::Permutation

Source§

impl IAttributeNamed for Cases

Source§

impl IAttributeNamed for StaticLowerBound

Source§

impl IAttributeNamed for StaticStep

Source§

impl IAttributeNamed for StaticUpperBound

Source§

impl IAttributeNamed for GatherDimensions

Source§

impl IAttributeNamed for InnerDimensionsPosition

Source§

impl IAttributeNamed for NoFold

Source§

impl IAttributeNamed for OuterDimensionsPermutation

Source§

impl IAttributeNamed for Reassociation

Source§

impl IAttributeNamed for ScatterDimensions

Source§

impl IAttributeNamed for StaticHigh

Source§

impl IAttributeNamed for StaticInnerTiles

Source§

impl IAttributeNamed for StaticLow

Source§

impl IAttributeNamed for StaticOutputShape

Source§

impl IAttributeNamed for Unique

Source§

impl IAttributeNamed for PoisonValue

Source§

impl IAttributeNamed for InBounds

Source§

impl IAttributeNamed for Offsets

Source§

impl IAttributeNamed for PermutationMap

Source§

impl IAttributeNamed for Punctuation

Source§

impl IAttributeNamed for Sizes

Source§

impl IAttributeNamed for StaticPosition

Source§

impl IAttributeNamed for Strides

Source§

impl IAttributeNamed for StringLiteral