#[repr(u16)]pub enum LangItemKind {
Show 113 variants
Sized = 0,
Copy = 1,
Clone = 2,
Sync = 3,
Freeze = 4,
Unpin = 5,
Drop = 6,
Tuple = 7,
FnPtrTrait = 8,
Option = 9,
OptionSome = 10,
OptionNone = 11,
Result = 12,
ResultOk = 13,
ResultErr = 14,
ControlFlow = 15,
ControlFlowContinue = 16,
ControlFlowBreak = 17,
Poll = 18,
PollReady = 19,
PollPending = 20,
Pin = 21,
OwnedBox = 22,
String = 23,
ManuallyDrop = 24,
MaybeUninit = 25,
UnsafeCell = 26,
PhantomData = 27,
RangeFull = 28,
Range = 29,
RangeFrom = 30,
RangeTo = 31,
RangeInclusive = 32,
RangeToInclusive = 33,
Try = 34,
TryOutput = 35,
TryResidual = 36,
TryBranch = 37,
TryFromOutput = 38,
FromResidual = 39,
FromResidualFn = 40,
Residual = 41,
ResidualTryType = 42,
Fn = 43,
FnCall = 44,
FnMut = 45,
FnMutCallMut = 46,
FnOnce = 47,
FnOnceCallOnce = 48,
FnOnceOutput = 49,
AsyncFn = 50,
AsyncFnCall = 51,
AsyncFnMut = 52,
AsyncFnMutCallMut = 53,
AsyncFnOnce = 54,
AsyncFnOnceCallOnce = 55,
AsyncFnOnceOutput = 56,
CallOnceFuture = 57,
CallRefFuture = 58,
Deref = 59,
DerefTarget = 60,
DerefFn = 61,
DerefMut = 62,
DerefMutFn = 63,
Receiver = 64,
ReceiverTarget = 65,
Index = 66,
IndexOutput = 67,
IndexFn = 68,
IndexMut = 69,
IndexMutFn = 70,
Iterator = 71,
IteratorItem = 72,
IteratorNext = 73,
IntoIterator = 74,
IntoIteratorItem = 75,
IntoIteratorIntoIter = 76,
IntoIteratorIntoIterFn = 77,
Future = 78,
FutureOutput = 79,
FuturePoll = 80,
IntoFuture = 81,
IntoFutureOutput = 82,
IntoFutureIntoFuture = 83,
IntoFutureIntoFutureFn = 84,
AsyncIterator = 85,
AsyncIteratorPollNext = 86,
Add = 87,
Sub = 88,
Mul = 89,
Div = 90,
Rem = 91,
Neg = 92,
Not = 93,
BitXor = 94,
BitAnd = 95,
BitOr = 96,
Shl = 97,
Shr = 98,
AddAssign = 99,
SubAssign = 100,
MulAssign = 101,
DivAssign = 102,
RemAssign = 103,
BitXorAssign = 104,
BitAndAssign = 105,
BitOrAssign = 106,
ShlAssign = 107,
ShrAssign = 108,
PartialEq = 109,
PartialOrd = 110,
From = 111,
Other = 65_535,
}Expand description
Canonical compiler #[lang = "..."] item (and associated trait item) identifier.
Variants§
Sized = 0
Copy = 1
Clone = 2
Sync = 3
Freeze = 4
Unpin = 5
Drop = 6
Tuple = 7
FnPtrTrait = 8
Option = 9
OptionSome = 10
OptionNone = 11
Result = 12
ResultOk = 13
ResultErr = 14
ControlFlow = 15
ControlFlowContinue = 16
ControlFlowBreak = 17
Poll = 18
PollReady = 19
PollPending = 20
Pin = 21
OwnedBox = 22
String = 23
ManuallyDrop = 24
MaybeUninit = 25
UnsafeCell = 26
PhantomData = 27
RangeFull = 28
Range = 29
RangeFrom = 30
RangeTo = 31
RangeInclusive = 32
RangeToInclusive = 33
Try = 34
TryOutput = 35
TryResidual = 36
TryBranch = 37
TryFromOutput = 38
FromResidual = 39
FromResidualFn = 40
Residual = 41
ResidualTryType = 42
Fn = 43
FnCall = 44
FnMut = 45
FnMutCallMut = 46
FnOnce = 47
FnOnceCallOnce = 48
FnOnceOutput = 49
AsyncFn = 50
AsyncFnCall = 51
AsyncFnMut = 52
AsyncFnMutCallMut = 53
AsyncFnOnce = 54
AsyncFnOnceCallOnce = 55
AsyncFnOnceOutput = 56
CallOnceFuture = 57
CallRefFuture = 58
Deref = 59
DerefTarget = 60
DerefFn = 61
DerefMut = 62
DerefMutFn = 63
Receiver = 64
ReceiverTarget = 65
Index = 66
IndexOutput = 67
IndexFn = 68
IndexMut = 69
IndexMutFn = 70
Iterator = 71
IteratorItem = 72
IteratorNext = 73
IntoIterator = 74
IntoIteratorItem = 75
IntoIteratorIntoIter = 76
IntoIteratorIntoIterFn = 77
Future = 78
FutureOutput = 79
FuturePoll = 80
IntoFuture = 81
IntoFutureOutput = 82
IntoFutureIntoFuture = 83
IntoFutureIntoFutureFn = 84
AsyncIterator = 85
AsyncIteratorPollNext = 86
Add = 87
Sub = 88
Mul = 89
Div = 90
Rem = 91
Neg = 92
Not = 93
BitXor = 94
BitAnd = 95
BitOr = 96
Shl = 97
Shr = 98
AddAssign = 99
SubAssign = 100
MulAssign = 101
DivAssign = 102
RemAssign = 103
BitXorAssign = 104
BitAndAssign = 105
BitOrAssign = 106
ShlAssign = 107
ShrAssign = 108
PartialEq = 109
PartialOrd = 110
From = 111
Other = 65_535
Implementations§
Trait Implementations§
Source§impl Clone for LangItemKind
impl Clone for LangItemKind
impl Copy for LangItemKind
Source§impl Debug for LangItemKind
impl Debug for LangItemKind
impl Eq for LangItemKind
Source§impl Hash for LangItemKind
impl Hash for LangItemKind
Source§impl Ord for LangItemKind
impl Ord for LangItemKind
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for LangItemKind
impl PartialEq for LangItemKind
Source§impl PartialOrd for LangItemKind
impl PartialOrd for LangItemKind
impl StructuralPartialEq for LangItemKind
Auto Trait Implementations§
impl Forget for LangItemKind
impl Freeze for LangItemKind
impl Move for LangItemKind
impl RefUnwindSafe for LangItemKind
impl Send for LangItemKind
impl Sync for LangItemKind
impl Unpin for LangItemKind
impl UnsafeUnpin for LangItemKind
impl UnwindSafe for LangItemKind
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