pub enum LadBMSPrimitiveKind {
Show 24 variants
Bool,
Isize,
I8,
I16,
I32,
I64,
I128,
Usize,
U8,
U16,
U32,
U64,
U128,
F32,
F64,
Char,
Str,
String,
OsString,
PathBuf,
FunctionCallContext,
DynamicFunction,
DynamicFunctionMut,
ReflectReference,
}
Expand description
A primitive type kind in the LAD file format.
The docstrings on variants corresponding to Reflect types, are used to generate documentation for these primitives.
Variants§
Bool
Isize
I8
I16
I32
I64
I128
Usize
U8
U16
U32
U64
U128
F32
F64
Char
Str
String
OsString
PathBuf
FunctionCallContext
DynamicFunction
DynamicFunctionMut
ReflectReference
Implementations§
Source§impl LadBMSPrimitiveKind
impl LadBMSPrimitiveKind
Sourcepub fn lad_type_id(self) -> LadTypeId
pub fn lad_type_id(self) -> LadTypeId
Get the corresponding type id for a primitive kind.
Trait Implementations§
Source§impl Clone for LadBMSPrimitiveKind
impl Clone for LadBMSPrimitiveKind
Source§fn clone(&self) -> LadBMSPrimitiveKind
fn clone(&self) -> LadBMSPrimitiveKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LadBMSPrimitiveKind
impl Debug for LadBMSPrimitiveKind
Source§impl<'de> Deserialize<'de> for LadBMSPrimitiveKind
impl<'de> Deserialize<'de> for LadBMSPrimitiveKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LadBMSPrimitiveKind
impl PartialEq for LadBMSPrimitiveKind
Source§impl Serialize for LadBMSPrimitiveKind
impl Serialize for LadBMSPrimitiveKind
impl Copy for LadBMSPrimitiveKind
impl StructuralPartialEq for LadBMSPrimitiveKind
Auto Trait Implementations§
impl Freeze for LadBMSPrimitiveKind
impl RefUnwindSafe for LadBMSPrimitiveKind
impl Send for LadBMSPrimitiveKind
impl Sync for LadBMSPrimitiveKind
impl Unpin for LadBMSPrimitiveKind
impl UnwindSafe for LadBMSPrimitiveKind
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