IndexDialectOperation

Enum IndexDialectOperation 

Source
pub enum IndexDialectOperation<'b> {
Show 26 variants Add(AddOperation<'b>), And(AndOperation<'b>), BoolConstant(BoolConstantOperation<'b>), CastS(CastSOperation<'b>), CastU(CastUOperation<'b>), CeilDivS(CeilDivSOperation<'b>), CeilDivU(CeilDivUOperation<'b>), Cmp(CmpOperation<'b>), Constant(ConstantOperation<'b>), DivS(DivSOperation<'b>), DivU(DivUOperation<'b>), FloorDivS(FloorDivSOperation<'b>), MaxS(MaxSOperation<'b>), MaxU(MaxUOperation<'b>), MinS(MinSOperation<'b>), MinU(MinUOperation<'b>), Mul(MulOperation<'b>), Or(OrOperation<'b>), RemS(RemSOperation<'b>), RemU(RemUOperation<'b>), Shl(ShlOperation<'b>), ShrS(ShrSOperation<'b>), ShrU(ShrUOperation<'b>), SizeOf(SizeOfOperation<'b>), Sub(SubOperation<'b>), XOr(XOrOperation<'b>),
}

Variants§

§

Add(AddOperation<'b>)

§

And(AndOperation<'b>)

§

BoolConstant(BoolConstantOperation<'b>)

§

CastS(CastSOperation<'b>)

§

CastU(CastUOperation<'b>)

§

CeilDivS(CeilDivSOperation<'b>)

§

CeilDivU(CeilDivUOperation<'b>)

§

Cmp(CmpOperation<'b>)

§

Constant(ConstantOperation<'b>)

§

DivS(DivSOperation<'b>)

§

DivU(DivUOperation<'b>)

§

FloorDivS(FloorDivSOperation<'b>)

§

MaxS(MaxSOperation<'b>)

§

MaxU(MaxUOperation<'b>)

§

MinS(MinSOperation<'b>)

§

MinU(MinUOperation<'b>)

§

Mul(MulOperation<'b>)

§

Or(OrOperation<'b>)

§

RemS(RemSOperation<'b>)

§

RemU(RemUOperation<'b>)

§

Shl(ShlOperation<'b>)

§

ShrS(ShrSOperation<'b>)

§

ShrU(ShrUOperation<'b>)

§

SizeOf(SizeOfOperation<'b>)

§

Sub(SubOperation<'b>)

§

XOr(XOrOperation<'b>)

Implementations§

Source§

impl<'b> IndexDialectOperation<'b>

Source

pub fn try_new(operation: Operation<'b>) -> Result<Self, Operation<'b>>

Source§

impl<'b> IndexDialectOperation<'b>

Source

pub fn as_operation(&self) -> &Operation<'b>

Trait Implementations§

Source§

impl<'b> Clone for IndexDialectOperation<'b>

Source§

fn clone(&self) -> IndexDialectOperation<'b>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<'b> Debug for IndexDialectOperation<'b>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'b> Display for IndexDialectOperation<'b>

Source§

fn fmt(&self, formatter: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'b> From<AddOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: AddOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<AndOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: AndOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<BoolConstantOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: BoolConstantOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<CastSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: CastSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<CastUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: CastUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<CeilDivSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: CeilDivSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<CeilDivUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: CeilDivUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<CmpOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: CmpOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<ConstantOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: ConstantOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<DivSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: DivSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<DivUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: DivUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<FloorDivSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: FloorDivSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<MaxSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: MaxSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<MaxUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: MaxUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<MinSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: MinSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<MinUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: MinUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<MulOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: MulOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<OrOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: OrOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<RemSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: RemSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<RemUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: RemUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<ShlOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: ShlOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<ShrSOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: ShrSOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<ShrUOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: ShrUOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<SizeOfOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: SizeOfOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<SubOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: SubOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> From<XOrOperation<'b>> for IndexDialectOperation<'b>

Source§

fn from(op: XOrOperation<'b>) -> Self

Converts to this type from the input type.
Source§

impl<'b> PartialEq for IndexDialectOperation<'b>

Source§

fn eq(&self, other: &IndexDialectOperation<'b>) -> 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.
Source§

impl<'b> Eq for IndexDialectOperation<'b>

Source§

impl<'b> StructuralPartialEq for IndexDialectOperation<'b>

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.