#[repr(C)]pub struct MagicItemVtbl {Show 32 fields
pub __base: TESBoundObjectVtbl,
pub __base1: BGSKeywordFormVtbl,
pub GetSpellType: extern "C" fn(this: *const MagicItem) -> SpellType,
pub SetCastingType: extern "C" fn(this: *mut MagicItem, ty: CastingType),
pub GetCastingType: extern "C" fn(this: *const MagicItem) -> CastingType_CEnum,
pub SetDelivery: extern "C" fn(this: *mut MagicItem, delivery: Delivery),
pub GetDelivery: extern "C" fn(this: *const MagicItem) -> Delivery_CEnum,
pub IsValidDelivery: extern "C" fn(this: *const MagicItem, delivery: Delivery) -> bool,
pub GetFixedCastDuration: extern "C" fn(this: *const MagicItem) -> f32,
pub GetRange: extern "C" fn(this: *const MagicItem) -> f32,
pub IgnoresResistance: extern "C" fn(this: *const MagicItem) -> bool,
pub IgnoreLOS: extern "C" fn(this: *const MagicItem) -> bool,
pub IsFood: extern "C" fn(this: *const MagicItem) -> bool,
pub GetNoAbsorb: extern "C" fn(this: *const MagicItem) -> bool,
pub GetNoDualCastModifications: extern "C" fn(this: *const MagicItem) -> bool,
pub GetSkillUsageData: extern "C" fn(this: *const MagicItem, data: *mut SkillUsageData) -> bool,
pub IsPoison: extern "C" fn(this: *const MagicItem) -> bool,
pub IsMedicine: extern "C" fn(this: *const MagicItem) -> bool,
pub AdjustCost: extern "C" fn(this: *const MagicItem, cost: *mut f32, actor: *mut Actor),
pub GetChargeTime: extern "C" fn(this: *const MagicItem) -> f32,
pub GetMaxEffectCount: extern "C" fn(this: *const MagicItem) -> u32,
pub GetAssociatedSkill: extern "C" fn(this: *const MagicItem) -> ActorValue_CEnum,
pub IsTwoHanded: extern "C" fn(this: *const MagicItem) -> bool,
pub GetChunkID: extern "C" fn(this: *mut MagicItem) -> u32,
pub CopyMagicItemData: extern "C" fn(this: *mut MagicItem, src: *const MagicItem),
pub LoadMagicItemChunk: extern "C" fn(this: *mut MagicItem, mod_file: *mut TESFile, chunk_id: u32),
pub LoadChunkDataPostProcess: extern "C" fn(this: *mut MagicItem, mod_file: *mut TESFile),
pub GetData1: extern "C" fn(this: *const MagicItem) -> *const Data,
pub GetData2: extern "C" fn(this: *mut MagicItem) -> *mut Data,
pub GetDataSize: extern "C" fn(this: *const MagicItem) -> u32,
pub InitFromChunk: extern "C" fn(this: *mut MagicItem, mod_file: *mut TESFile),
pub InitChunk: extern "C" fn(this: *mut MagicItem),
}
Fields§
§__base: TESBoundObjectVtbl
§__base1: BGSKeywordFormVtbl
§GetSpellType: extern "C" fn(this: *const MagicItem) -> SpellType
§SetCastingType: extern "C" fn(this: *mut MagicItem, ty: CastingType)
§GetCastingType: extern "C" fn(this: *const MagicItem) -> CastingType_CEnum
§SetDelivery: extern "C" fn(this: *mut MagicItem, delivery: Delivery)
§GetDelivery: extern "C" fn(this: *const MagicItem) -> Delivery_CEnum
§IsValidDelivery: extern "C" fn(this: *const MagicItem, delivery: Delivery) -> bool
§GetFixedCastDuration: extern "C" fn(this: *const MagicItem) -> f32
§GetRange: extern "C" fn(this: *const MagicItem) -> f32
§IgnoresResistance: extern "C" fn(this: *const MagicItem) -> bool
§IgnoreLOS: extern "C" fn(this: *const MagicItem) -> bool
§IsFood: extern "C" fn(this: *const MagicItem) -> bool
§GetNoAbsorb: extern "C" fn(this: *const MagicItem) -> bool
§GetNoDualCastModifications: extern "C" fn(this: *const MagicItem) -> bool
§GetSkillUsageData: extern "C" fn(this: *const MagicItem, data: *mut SkillUsageData) -> bool
§IsPoison: extern "C" fn(this: *const MagicItem) -> bool
§IsMedicine: extern "C" fn(this: *const MagicItem) -> bool
§AdjustCost: extern "C" fn(this: *const MagicItem, cost: *mut f32, actor: *mut Actor)
§GetChargeTime: extern "C" fn(this: *const MagicItem) -> f32
§GetMaxEffectCount: extern "C" fn(this: *const MagicItem) -> u32
§GetAssociatedSkill: extern "C" fn(this: *const MagicItem) -> ActorValue_CEnum
§IsTwoHanded: extern "C" fn(this: *const MagicItem) -> bool
§GetChunkID: extern "C" fn(this: *mut MagicItem) -> u32
§CopyMagicItemData: extern "C" fn(this: *mut MagicItem, src: *const MagicItem)
§LoadMagicItemChunk: extern "C" fn(this: *mut MagicItem, mod_file: *mut TESFile, chunk_id: u32)
§LoadChunkDataPostProcess: extern "C" fn(this: *mut MagicItem, mod_file: *mut TESFile)
§GetData1: extern "C" fn(this: *const MagicItem) -> *const Data
§GetData2: extern "C" fn(this: *mut MagicItem) -> *mut Data
§GetDataSize: extern "C" fn(this: *const MagicItem) -> u32
§InitFromChunk: extern "C" fn(this: *mut MagicItem, mod_file: *mut TESFile)
§InitChunk: extern "C" fn(this: *mut MagicItem)
Auto Trait Implementations§
impl Freeze for MagicItemVtbl
impl RefUnwindSafe for MagicItemVtbl
impl Send for MagicItemVtbl
impl Sync for MagicItemVtbl
impl Unpin for MagicItemVtbl
impl UnwindSafe for MagicItemVtbl
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