#[repr(transparent)]
pub struct FieldInfo(_);
Expand description

Information about a C# field

Implementations

Store a typechecked value into a field

Store a value into a field without type checking

Safety

To be safe, the provided type has to match the field signature

Load a typechecked value from a field

Load a value from a field without type checking

Safety

To be safe, the provided type has to match the field signature

Name of the field

Class the field is from

Type of the field

Trait Implementations

Formats the value using the given formatter. Read more

Raw il2cpp type

Returns a reference to the underlying raw il2cpp type

Returns a mutable reference to the underlying raw il2cpp type Read more

Wraps a reference to the raw il2cpp type Read more

Wraps a mutable reference to the raw il2cpp type Read more

Wraps a const pointer to the raw il2cpp type Read more

Wraps a mut pointer to the raw il2cpp type Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.