pub struct ObjectSpec {
pub path_id: i64,
pub type_id: i32,
pub class_id: u16,
pub data: Vec<u8>,
pub byte_size: Option<u32>,
pub script_type_index: Option<i16>,
pub is_destroyed: Option<u16>,
pub is_stripped: Option<i8>,
}Expand description
One object.
Fields§
§path_id: i64path_id.
type_id: i32From 16 the index into types; below 16 the class id.
class_id: u16Below 16, the stored class_id.
data: Vec<u8>The object’s data, placed after the metadata in object order, each start aligned to 8.
byte_size: Option<u32>Overrides the stored byte_size (for mismatch tests).
script_type_index: Option<i16>The object row’s script_type_index (formats 11-16), which loading
writes back into the object’s type; None writes -1.
is_destroyed: Option<u16>is_destroyed (below format 11); None writes 0.
is_stripped: Option<i8>is_stripped (formats 15 and 16); None writes 0.
Trait Implementations§
Source§impl Clone for ObjectSpec
impl Clone for ObjectSpec
Source§impl Debug for ObjectSpec
impl Debug for ObjectSpec
Source§impl Default for ObjectSpec
impl Default for ObjectSpec
impl Eq for ObjectSpec
Source§impl PartialEq for ObjectSpec
impl PartialEq for ObjectSpec
impl StructuralPartialEq for ObjectSpec
Auto Trait Implementations§
impl Forget for ObjectSpec
impl Freeze for ObjectSpec
impl Move for ObjectSpec
impl RefUnwindSafe for ObjectSpec
impl Send for ObjectSpec
impl Sync for ObjectSpec
impl Unpin for ObjectSpec
impl UnsafeUnpin for ObjectSpec
impl UnwindSafe for ObjectSpec
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