pub struct FieldDefinition {
pub name_index: u32,
pub type_index: TypeIndex,
pub token: u32,
}Expand description
Il2CppFieldDefinition: one field’s name and type.
Fields§
§name_index: u32The field’s name. Index into the string pool; read it with Metadata::string.
type_index: TypeIndexThe field’s type, as a TypeIndex. Its attrs carry the field’s FieldAttributes (e.g. static).
token: u32The field’s Field metadata token in its image.
Trait Implementations§
Source§impl Clone for FieldDefinition
impl Clone for FieldDefinition
Source§impl Debug for FieldDefinition
impl Debug for FieldDefinition
Auto Trait Implementations§
impl Forget for FieldDefinition
impl Freeze for FieldDefinition
impl Move for FieldDefinition
impl RefUnwindSafe for FieldDefinition
impl Send for FieldDefinition
impl Sync for FieldDefinition
impl Unpin for FieldDefinition
impl UnsafeUnpin for FieldDefinition
impl UnwindSafe for FieldDefinition
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