Enum red4ext_rs::types::TaggedType
source · pub enum TaggedType<'a> {
Show 17 variants
Name,
Fundamental,
Class(&'a Class),
Array(&'a ArrayType),
Simple,
Enum(&'a Enum),
StaticArray(&'a StaticArrayType),
NativeArray(&'a NativeArrayType),
Pointer(&'a PointerType),
Ref(&'a RefType),
WeakRef(&'a WeakRefType),
ResourceRef(&'a ResourceRefType),
RaRef(&'a RaRefType),
BitField(&'a Bitfield),
Curve(&'a CurveType),
ScriptRef(&'a ScriptRefType),
FixedArray(&'a ArrayType),
}
Expand description
Enum representation of the RTTI type.
Variants§
Name
A name type.
Fundamental
A fundamental type (e.g. Int32
).
Class(&'a Class)
A class type.
Array(&'a ArrayType)
An array type.
Simple
A simple type.
Enum(&'a Enum)
An enum type.
StaticArray(&'a StaticArrayType)
A static array type with a fixed size.
NativeArray(&'a NativeArrayType)
A native array type with a fixed size.
Pointer(&'a PointerType)
A pointer type.
Ref(&'a RefType)
A reference type.
WeakRef(&'a WeakRefType)
A weak reference type.
ResourceRef(&'a ResourceRefType)
A resource reference type.
RaRef(&'a RaRefType)
An asynchronous resource reference type.
BitField(&'a Bitfield)
A bitfield type.
Curve(&'a CurveType)
A curve type.
ScriptRef(&'a ScriptRefType)
A script reference type.
FixedArray(&'a ArrayType)
A fixed size array type.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for TaggedType<'a>
impl<'a> !RefUnwindSafe for TaggedType<'a>
impl<'a> !Send for TaggedType<'a>
impl<'a> !Sync for TaggedType<'a>
impl<'a> Unpin for TaggedType<'a>
impl<'a> !UnwindSafe for TaggedType<'a>
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