#[non_exhaustive]pub enum CodecKind {
Show 13 variants
VarInt,
VarLong,
Boolean,
Byte,
UnsignedByte,
Short,
UnsignedShort,
Int,
Long,
String,
Identifier,
TextComponent,
JsonTextComponent,
}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.
VarInt
VarLong
Boolean
Byte
UnsignedByte
Short
UnsignedShort
Int
Long
String
Identifier
TextComponent
JsonTextComponent
Trait Implementations§
impl Copy for CodecKind
impl Eq for CodecKind
impl StructuralPartialEq for CodecKind
Auto Trait Implementations§
impl Freeze for CodecKind
impl RefUnwindSafe for CodecKind
impl Send for CodecKind
impl Sync for CodecKind
impl Unpin for CodecKind
impl UnsafeUnpin for CodecKind
impl UnwindSafe for CodecKind
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