#[repr(C)]pub struct ExtraReferenceHandle {
pub __base: BSExtraData,
pub container_ref: ObjectRefHandle,
pub pad14: u32,
}
Fields§
§__base: BSExtraData
Base class BSExtraData
.
container_ref: ObjectRefHandle
The object reference handle.
Offset: 0x10
pad14: u32
Padding to match C++ structure alignment.
Offset: 0x14
Implementations§
Source§impl ExtraReferenceHandle
impl ExtraReferenceHandle
Sourcepub const RTTI: VariantID = RTTI_ExtraReferenceHandle
pub const RTTI: VariantID = RTTI_ExtraReferenceHandle
Address & offset of the runtime type information (RTTI) identifier.
Sourcepub const VTABLE: [VariantID; 1] = VTABLE_ExtraReferenceHandle
pub const VTABLE: [VariantID; 1] = VTABLE_ExtraReferenceHandle
Address & offset of the virtual function table.
Sourcepub const EXTRA_DATA_TYPE: ExtraDataType = ExtraDataType::ReferenceHandle
pub const EXTRA_DATA_TYPE: ExtraDataType = ExtraDataType::ReferenceHandle
The ExtraDataType
value for reference handles.
Sourcepub const fn from_handle(container_ref: ObjectRefHandle) -> Self
pub const fn from_handle(container_ref: ObjectRefHandle) -> Self
Creates a new ExtraReferenceHandle
with a specific reference handle.
Sourcepub const fn get_type(&self) -> ExtraDataType
pub const fn get_type(&self) -> ExtraDataType
Gets the extra data type, always returning ExtraDataType::ReferenceHandle
.
Sourcepub fn is_not_equal(&self, rhs: &Self) -> bool
pub fn is_not_equal(&self, rhs: &Self) -> bool
Checks if this ExtraReferenceHandle
is not equal to another.
Sourcepub fn get_original_reference(&self) -> NiPointer<TESObjectREFR>
pub fn get_original_reference(&self) -> NiPointer<TESObjectREFR>
Retrieves the original reference as NiPointer<TESObjectREFR>
.
Trait Implementations§
Source§impl Debug for ExtraReferenceHandle
impl Debug for ExtraReferenceHandle
Source§impl Default for ExtraReferenceHandle
impl Default for ExtraReferenceHandle
Source§impl DerivedBSExtraData for ExtraReferenceHandle
impl DerivedBSExtraData for ExtraReferenceHandle
Source§fn get_extra_data(&self) -> &BSExtraData
fn get_extra_data(&self) -> &BSExtraData
Type used for downcast-ing availability and linked list search.
Source§fn get_extra_data_type() -> ExtraDataType
fn get_extra_data_type() -> ExtraDataType
Function for testing whether
BSExtraData
is really inherited. It will not be called in practice.Source§impl PartialEq for ExtraReferenceHandle
impl PartialEq for ExtraReferenceHandle
impl StructuralPartialEq for ExtraReferenceHandle
Auto Trait Implementations§
impl Freeze for ExtraReferenceHandle
impl RefUnwindSafe for ExtraReferenceHandle
impl !Send for ExtraReferenceHandle
impl !Sync for ExtraReferenceHandle
impl Unpin for ExtraReferenceHandle
impl UnwindSafe for ExtraReferenceHandle
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