#[non_exhaustive]pub struct ScriptRef {
pub file_index: i32,
pub identifier: i64,
}Expand description
One script type reference (LocalSerializedObjectIdentifier).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.file_index: i32local_serialized_file_index.
identifier: i64local_identifier_in_file.
Trait Implementations§
impl Copy for ScriptRef
impl Eq for ScriptRef
impl StructuralPartialEq for ScriptRef
Auto Trait Implementations§
impl Forget for ScriptRef
impl Freeze for ScriptRef
impl Move for ScriptRef
impl RefUnwindSafe for ScriptRef
impl Send for ScriptRef
impl Sync for ScriptRef
impl Unpin for ScriptRef
impl UnsafeUnpin for ScriptRef
impl UnwindSafe for ScriptRef
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