Skip to main content

Keyword

Enum Keyword 

Source
pub enum Keyword {
Show 125 variants Source, Target, Triple, Datalayout, Define, Declare, Type, Private, Internal, External, Weak, WeakOdr, Linkonce, LinkonceOdr, Common, AvailableExternally, Void, Half, Bfloat, Float, Double, Fp128, X86Fp80, Label, Metadata, Ptr, Global, Constant, Inbounds, Exact, Nuw, Nsw, Volatile, Tail, Musttail, Notail, Fast, Nnan, Ninf, Nsz, Arcp, Contract, Afn, Reassoc, Add, Sub, Mul, Udiv, Sdiv, Urem, Srem, And, Or, Xor, Shl, Lshr, Ashr, Fadd, Fsub, Fmul, Fdiv, Frem, Fneg, Icmp, Fcmp, Alloca, Load, Store, Getelementptr, Trunc, Zext, Sext, Fptrunc, Fpext, Fptoui, Fptosi, Uitofp, Sitofp, Ptrtoint, Inttoptr, Bitcast, Addrspacecast, Freeze, Select, Phi, Extractvalue, Insertvalue, Extractelement, Insertelement, Shufflevector, Call, Ret, Br, Switch, Unreachable, Eq, Ne, Ugt, Uge, Ult, Ule, Sgt, Sge, Slt, Sle, False, Oeq, Ogt, Oge, Olt, Ole, One, Ord, Uno, Ueq, Une, True, Zeroinitializer, Undef, Poison, Null, Align, To, X, Vscale,
}
Expand description

Public API for Keyword.

Variants§

§

Source

Source variant.

§

Target

Target variant.

§

Triple

Triple variant.

§

Datalayout

Datalayout variant.

§

Define

Define variant.

§

Declare

Declare variant.

§

Type

Type variant.

§

Private

Private variant.

§

Internal

Internal variant.

§

External

External variant.

§

Weak

Weak variant.

§

WeakOdr

WeakOdr variant.

§

Linkonce

Linkonce variant.

§

LinkonceOdr

LinkonceOdr variant.

§

Common

Common variant.

§

AvailableExternally

AvailableExternally variant.

§

Void

Void variant.

§

Half

Half variant.

§

Bfloat

Bfloat variant.

§

Float

Float variant.

§

Double

Double variant.

§

Fp128

Fp128 variant.

§

X86Fp80

X86Fp80 variant.

§

Label

Label variant.

§

Metadata

Metadata variant.

§

Ptr

Ptr variant.

§

Global

Global variant.

§

Constant

Constant variant.

§

Inbounds

Inbounds variant.

§

Exact

Exact variant.

§

Nuw

Nuw variant.

§

Nsw

Nsw variant.

§

Volatile

Volatile variant.

§

Tail

Tail variant.

§

Musttail

Musttail variant.

§

Notail

Notail variant.

§

Fast

Fast variant.

§

Nnan

Nnan variant.

§

Ninf

Ninf variant.

§

Nsz

Nsz variant.

§

Arcp

Arcp variant.

§

Contract

Contract variant.

§

Afn

Afn variant.

§

Reassoc

Reassoc variant.

§

Add

Add variant.

§

Sub

Sub variant.

§

Mul

Mul variant.

§

Udiv

Udiv variant.

§

Sdiv

Sdiv variant.

§

Urem

Urem variant.

§

Srem

Srem variant.

§

And

And variant.

§

Or

Or variant.

§

Xor

Xor variant.

§

Shl

Shl variant.

§

Lshr

Lshr variant.

§

Ashr

Ashr variant.

§

Fadd

Fadd variant.

§

Fsub

Fsub variant.

§

Fmul

Fmul variant.

§

Fdiv

Fdiv variant.

§

Frem

Frem variant.

§

Fneg

Fneg variant.

§

Icmp

Icmp variant.

§

Fcmp

Fcmp variant.

§

Alloca

Alloca variant.

§

Load

Load variant.

§

Store

Store variant.

§

Getelementptr

Getelementptr variant.

§

Trunc

Trunc variant.

§

Zext

Zext variant.

§

Sext

Sext variant.

§

Fptrunc

Fptrunc variant.

§

Fpext

Fpext variant.

§

Fptoui

Fptoui variant.

§

Fptosi

Fptosi variant.

§

Uitofp

Uitofp variant.

§

Sitofp

Sitofp variant.

§

Ptrtoint

Ptrtoint variant.

§

Inttoptr

Inttoptr variant.

§

Bitcast

Bitcast variant.

§

Addrspacecast

Addrspacecast variant.

§

Freeze

Freeze variant.

§

Select

Select variant.

§

Phi

Phi variant.

§

Extractvalue

Extractvalue variant.

§

Insertvalue

Insertvalue variant.

§

Extractelement

Extractelement variant.

§

Insertelement

Insertelement variant.

§

Shufflevector

Shufflevector variant.

§

Call

Call variant.

§

Ret

Ret variant.

§

Br

Br variant.

§

Switch

Switch variant.

§

Unreachable

Unreachable variant.

§

Eq

Eq variant.

§

Ne

Ne variant.

§

Ugt

Ugt variant.

§

Uge

Uge variant.

§

Ult

Ult variant.

§

Ule

Ule variant.

§

Sgt

Sgt variant.

§

Sge

Sge variant.

§

Slt

Slt variant.

§

Sle

Sle variant.

§

False

False variant.

§

Oeq

Oeq variant.

§

Ogt

Ogt variant.

§

Oge

Oge variant.

§

Olt

Olt variant.

§

Ole

Ole variant.

§

One

One variant.

§

Ord

Ord variant.

§

Uno

Uno variant.

§

Ueq

Ueq variant.

§

Une

Une variant.

§

True

True variant.

§

Zeroinitializer

Zeroinitializer variant.

§

Undef

Undef variant.

§

Poison

Poison variant.

§

Null

Null variant.

§

Align

Align variant.

§

To

To variant.

§

X

X variant.

§

Vscale

Vscale variant.

Trait Implementations§

Source§

impl Clone for Keyword

Source§

fn clone(&self) -> Keyword

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for Keyword

Source§

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

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

impl PartialEq for Keyword

Source§

fn eq(&self, other: &Keyword) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

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

Inequality operator !=. Read more
Source§

impl StructuralPartialEq for Keyword

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, 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.