pub struct FieldView<'g> { /* private fields */ }Implementations§
Source§impl<'g> FieldView<'g>
impl<'g> FieldView<'g>
pub fn name(&self) -> &'g str
pub fn ty(&self) -> Option<&'g Il2CppType>
pub fn is_static(&self) -> bool
Sourcepub fn constant(&self) -> Option<ConstValue>
pub fn constant(&self) -> Option<ConstValue>
The field’s compile-time constant, if it has one (enum members and
const fields). The common case is an enum member’s integer value.
Trait Implementations§
impl<'g> Copy for FieldView<'g>
Auto Trait Implementations§
impl<'g> Freeze for FieldView<'g>
impl<'g> RefUnwindSafe for FieldView<'g>
impl<'g> Send for FieldView<'g>
impl<'g> Sync for FieldView<'g>
impl<'g> Unpin for FieldView<'g>
impl<'g> UnsafeUnpin for FieldView<'g>
impl<'g> UnwindSafe for FieldView<'g>
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