pub struct Object {
pub path_id: i64,
pub class_id: i32,
pub value: V,
pub cut: Option<usize>,
pub trailing: usize,
}Expand description
One object: its path id, class id and value (a V::Struct whose type
is the class’s name, written as the root node Base), its bytes cut to
cut when that is set (a read that runs out), and trailing zero bytes
stored after them (a read that ends before the object does, which
UnityPy’s check_read refuses).
Fields§
§path_id: i64path_id.
class_id: i32The class id.
value: VThe value.
cut: Option<usize>The object’s stored bytes are the value’s first cut.
trailing: usizeZero bytes stored after the value’s (or the cut’s).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Forget for Object
impl Freeze for Object
impl Move for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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