pub enum V {
}Expand description
A typed value: its typetree nodes and its bytes (nodes, [write]).
Variants§
Int(i32)
int.
UInt(u32)
unsigned int.
UInt8(u8)
UInt8, unaligned.
AlignedUInt8(u8)
UInt8 with the typetree align-after flag.
UInt16(u16)
UInt16, unaligned.
UInt64(u64)
UInt64.
Int64(i64)
SInt64.
Bool(bool)
bool, aligned.
Float(f32)
float: UnityPy widens it exactly to a double.
Double(f64)
double.
Str(Vec<u8>)
string: an int length, the bytes, aligned.
Bytes(Vec<u8>)
TypelessData: an int length and the bytes, aligned; UnityPy reads
it as bytes.
PPtr(String, i32, i64)
PPtr<target>: m_FileID, m_PathID.
Struct(String, Vec<(String, V)>)
A struct: its type and its fields, in order.
Vector(String, Box<V>, Vec<V>)
A vector: its node type (vector, map), the element’s shape (for
the nodes, so an empty vector has them too) and the elements.
Pair(Box<V>, Box<V>)
pair: first, second.
Trait Implementations§
impl StructuralPartialEq for V
Auto Trait Implementations§
impl Forget for V
impl Freeze for V
impl Move for V
impl RefUnwindSafe for V
impl Send for V
impl Sync for V
impl Unpin for V
impl UnsafeUnpin for V
impl UnwindSafe for V
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