pub enum UnityField {
Int(i64),
Bool(bool),
Ref(PPtr),
Refs(Vec<PPtr>),
Colours(Vec<[f32; 4]>),
}Expand description
A field of a graphics settings entry.
Variants§
Int(i64)
A 4-byte integer or enum value.
Bool(bool)
A bool, padded to 4 bytes.
Ref(PPtr)
An object reference.
Refs(Vec<PPtr>)
A list of object references.
Colours(Vec<[f32; 4]>)
A list of colours (Color[]), RGBA.
Trait Implementations§
Source§impl Clone for UnityField
impl Clone for UnityField
Source§impl Debug for UnityField
impl Debug for UnityField
Source§impl PartialEq for UnityField
impl PartialEq for UnityField
Source§impl Serialize for UnityField
impl Serialize for UnityField
impl StructuralPartialEq for UnityField
Auto Trait Implementations§
impl Freeze for UnityField
impl RefUnwindSafe for UnityField
impl Send for UnityField
impl Sync for UnityField
impl Unpin for UnityField
impl UnsafeUnpin for UnityField
impl UnwindSafe for UnityField
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