pub struct ExtraDataType(/* private fields */);
Implementations§
Source§impl ExtraDataType
impl ExtraDataType
Sourcepub const CellWaterType: Self
pub const CellWaterType: Self
0x03 - ExtraCellWaterType
Sourcepub const RegionList: Self
pub const RegionList: Self
0x04 - ExtraRegionList
Sourcepub const CellMusicType: Self
pub const CellMusicType: Self
0x07 - ExtraCellMusicType
Sourcepub const CellSkyRegion: Self
pub const CellSkyRegion: Self
0x08 - ExtraCellSkyRegion
Sourcepub const ProcessMiddleLow: Self
pub const ProcessMiddleLow: Self
0x09 - ExtraProcessMiddleLow
Sourcepub const DetachTime: Self
pub const DetachTime: Self
0x0A - ExtraDetachTime
Sourcepub const PersistentCell: Self
pub const PersistentCell: Self
0x0B - ExtraPersistentCell
Sourcepub const StartingPosition: Self
pub const StartingPosition: Self
0x0E - ExtraStartingPosition
Sourcepub const AnimGraphManager: Self
pub const AnimGraphManager: Self
0x10 - ExtraAnimGraphManager
Sourcepub const UsedMarkers: Self
pub const UsedMarkers: Self
0x12 - ExtraUsedMarkers
Sourcepub const DistantData: Self
pub const DistantData: Self
0x13 - ExtraDistantData
Sourcepub const RagDollData: Self
pub const RagDollData: Self
0x14 - ExtraRagDollData
Sourcepub const ContainerChanges: Self
pub const ContainerChanges: Self
0x15 - ExtraContainerChanges
Sourcepub const PackageStartLocation: Self
pub const PackageStartLocation: Self
0x18 - ExtraPackageStartLocation
Sourcepub const TresPassPackage: Self
pub const TresPassPackage: Self
0x1A - ExtraTresPassPackage
Sourcepub const RunOncePacks: Self
pub const RunOncePacks: Self
0x1B - ExtraRunOncePacks
Sourcepub const ReferenceHandle: Self
pub const ReferenceHandle: Self
0x1C - ExtraReferenceHandle
Sourcepub const LevCreaModifier: Self
pub const LevCreaModifier: Self
0x1E - ExtraLevCreaModifier
Sourcepub const OriginalReference: Self
pub const OriginalReference: Self
0x20 - ExtraOriginalReference
Sourcepub const LeveledCreature: Self
pub const LeveledCreature: Self
0x2D - ExtraLeveledCreature
Sourcepub const LeveledItem: Self
pub const LeveledItem: Self
0x2E - ExtraLeveledItem
Sourcepub const MissingLinkedRefIDs: Self
pub const MissingLinkedRefIDs: Self
0x30 - ExtraMissingLinkedRefIDs
Sourcepub const MagicCaster: Self
pub const MagicCaster: Self
0x31 - ExtraMagicCaster
Sourcepub const NonActorMagicTarget: Self
pub const NonActorMagicTarget: Self
0x32 - NonActorMagicTarget
Sourcepub const PlayerCrimeList: Self
pub const PlayerCrimeList: Self
0x34 - ExtraPlayerCrimeList
Sourcepub const EnableStateParent: Self
pub const EnableStateParent: Self
0x36 - ExtraEnableStateParent
Sourcepub const EnableStateChildren: Self
pub const EnableStateChildren: Self
0x37 - ExtraEnableStateChildren
Sourcepub const ItemDropper: Self
pub const ItemDropper: Self
0x38 - ExtraItemDropper
Sourcepub const DroppedItemList: Self
pub const DroppedItemList: Self
0x39 - ExtraDroppedItemList
Sourcepub const RandomTeleportMarker: Self
pub const RandomTeleportMarker: Self
0x3A - ExtraRandomTeleportMarker
Sourcepub const SavedHavokData: Self
pub const SavedHavokData: Self
0x3C - ExtraSavedHavokData
Sourcepub const CannotWear: Self
pub const CannotWear: Self
0x3D - ExtraCannotWear
Sourcepub const MagicLight: Self
pub const MagicLight: Self
0x3F - ExtraMagicLight
Sourcepub const LastFinishedSequence: Self
pub const LastFinishedSequence: Self
0x40 - ExtraLastFinishedSequence
Sourcepub const SavedAnimation: Self
pub const SavedAnimation: Self
0x41 - ExtraSavedAnimation
Sourcepub const NorthRotation: Self
pub const NorthRotation: Self
0x42 - ExtraNorthRotation
Sourcepub const SpawnContainer: Self
pub const SpawnContainer: Self
0x43 - ExtraSpawnContainer
Sourcepub const FriendHits: Self
pub const FriendHits: Self
0x44 - ExtraFriendHits
Sourcepub const HeadingTarget: Self
pub const HeadingTarget: Self
0x45 - ExtraHeadingTarget
Sourcepub const RefractionProperty: Self
pub const RefractionProperty: Self
0x47 - ExtraRefractionProperty
Sourcepub const StartingWorldOrCell: Self
pub const StartingWorldOrCell: Self
0x48 - ExtraStartingWorldOrCell
Sourcepub const EditorRef3DData: Self
pub const EditorRef3DData: Self
0x4A - ExtraEditorRef3DData
Sourcepub const EditorRefMoveData: Self
pub const EditorRefMoveData: Self
0x4B - ExtraEditorRefMoveData
Sourcepub const InfoGeneralTopic: Self
pub const InfoGeneralTopic: Self
0x4C - ExtraInfoGeneralTopic
Sourcepub const HasNoRumors: Self
pub const HasNoRumors: Self
0x4D - ExtraHasNoRumors
Sourcepub const TerminalState: Self
pub const TerminalState: Self
0x4F - ExtraTerminalState
Sourcepub const LinkedRefChildren: Self
pub const LinkedRefChildren: Self
0x51 - ExtraLinkedRefChildren
Sourcepub const ActivateRef: Self
pub const ActivateRef: Self
0x52 - ExtraActivateRef
Sourcepub const ActivateRefChildren: Self
pub const ActivateRefChildren: Self
0x53 - ExtraActivateRefChildren
Sourcepub const CanTalkToPlayer: Self
pub const CanTalkToPlayer: Self
0x54 - ExtraCanTalkToPlayer
Sourcepub const ObjectHealth: Self
pub const ObjectHealth: Self
0x55 - ExtraObjectHealth
Sourcepub const CellImageSpace: Self
pub const CellImageSpace: Self
0x56 - ExtraCellImageSpace
0x57 - ExtraNavMeshPortal
Sourcepub const FactionChanges: Self
pub const FactionChanges: Self
0x5B - ExtraFactionChanges
Sourcepub const DismemberedLimbs: Self
pub const DismemberedLimbs: Self
0x5C - ExtraDismemberedLimbs
Sourcepub const ActorCause: Self
pub const ActorCause: Self
0x5D - ExtraActorCause
Sourcepub const MultiBound: Self
pub const MultiBound: Self
0x5E - ExtraMultiBound
Sourcepub const MultiBoundMarkerData: Self
pub const MultiBoundMarkerData: Self
0x5F - MultiBoundMarkerData
Sourcepub const MultiBoundRef: Self
pub const MultiBoundRef: Self
0x60 - ExtraMultiBoundRef
Sourcepub const ReflectedRefs: Self
pub const ReflectedRefs: Self
0x61 - ExtraReflectedRefs
Sourcepub const ReflectorRefs: Self
pub const ReflectorRefs: Self
0x62 - ExtraReflectorRefs
Sourcepub const EmittanceSource: Self
pub const EmittanceSource: Self
0x63 - ExtraEmittanceSource
Sourcepub const CombatStyle: Self
pub const CombatStyle: Self
0x65 - ExtraCombatStyle
Sourcepub const OpenCloseActivateRef: Self
pub const OpenCloseActivateRef: Self
0x68 - ExtraOpenCloseActivateRef
Sourcepub const AnimNoteReceiver: Self
pub const AnimNoteReceiver: Self
0x69 - ExtraAnimNoteReceiver
Sourcepub const PatrolRefData: Self
pub const PatrolRefData: Self
0x6B - ExtraPatrolRefData
Sourcepub const PackageData: Self
pub const PackageData: Self
0x6C - ExtraPackageData
Sourcepub const OcclusionShape: Self
pub const OcclusionShape: Self
0x6D - ExtraOcclusionShape
Sourcepub const CollisionData: Self
pub const CollisionData: Self
0x6E - ExtraCollisionData
Sourcepub const SayTopicInfoOnceADay: Self
pub const SayTopicInfoOnceADay: Self
0x6F - ExtraSayTopicInfoOnceADay
Sourcepub const EncounterZone: Self
pub const EncounterZone: Self
0x70 - ExtraEncounterZone
Sourcepub const SayTopicInfo: Self
pub const SayTopicInfo: Self
0x71 - ExtraSayToTopicInfo
Sourcepub const OcclusionPlaneRefData: Self
pub const OcclusionPlaneRefData: Self
0x72 - ExtraOcclusionPlaneRefData
Sourcepub const PortalRefData: Self
pub const PortalRefData: Self
0x73 - ExtraPortalRefData
Sourcepub const HealthPerc: Self
pub const HealthPerc: Self
0x76 - ExtraHealthPerc
Sourcepub const RoomRefData: Self
pub const RoomRefData: Self
0x77 - ExtraRoomRefData
Sourcepub const GuardedRefData: Self
pub const GuardedRefData: Self
0x78 - ExtraGuardedRefData
Sourcepub const CreatureAwakeSound: Self
pub const CreatureAwakeSound: Self
0x79 - ExtraCreatureAwakeSound
Sourcepub const IgnoredBySandbox: Self
pub const IgnoredBySandbox: Self
0x7C - ExtraIgnoredBySandbox
Sourcepub const CellAcousticSpace: Self
pub const CellAcousticSpace: Self
0x7D - ExtraCellAcousticSpace
Sourcepub const ReservedMarkers: Self
pub const ReservedMarkers: Self
0x7E - ExtraReservedMarkers
Sourcepub const WeaponIdleSound: Self
pub const WeaponIdleSound: Self
0x7F - ExtraWeaponIdleSound
Sourcepub const WaterLightRefs: Self
pub const WaterLightRefs: Self
0x80 - ExtraWaterLightRefs
Sourcepub const LitWaterRefs: Self
pub const LitWaterRefs: Self
0x81 - ExtraLitWaterRefs
Sourcepub const WeaponAttackSound: Self
pub const WeaponAttackSound: Self
0x82 - ExtraWeaponAttackSound
Sourcepub const ActivateLoopSound: Self
pub const ActivateLoopSound: Self
0x83 - ExtraActivateLoopSound
Sourcepub const PatrolRefInUseData: Self
pub const PatrolRefInUseData: Self
0x84 - ExtraPatrolRefInUseData
Sourcepub const AshPileRef: Self
pub const AshPileRef: Self
0x85 - ExtraAshPileRef
Sourcepub const CreatureMovementSound: Self
pub const CreatureMovementSound: Self
0x86 - ExtraCreatureMovementSound
Sourcepub const FollowerSwimBreadcrumbs: Self
pub const FollowerSwimBreadcrumbs: Self
0x87 - ExtraFollowerSwimBreadcrumbs
Sourcepub const AliasInstanceArray: Self
pub const AliasInstanceArray: Self
0x88 - ExtraAliasInstanceArray
Sourcepub const LocationRefType: Self
pub const LocationRefType: Self
0x8B - ExtraLocationRefType
Sourcepub const PromotedRef: Self
pub const PromotedRef: Self
0x8C - ExtraPromotedRef
Sourcepub const AnimationSequencer: Self
pub const AnimationSequencer: Self
0x8D - ExtraAnimationSequencer
Sourcepub const OutfitItem: Self
pub const OutfitItem: Self
0x8E - ExtraOutfitItem
Sourcepub const LeveledItemBase: Self
pub const LeveledItemBase: Self
0x90 - ExtraLeveledItemBase
Sourcepub const BadPosition: Self
pub const BadPosition: Self
0x93 - ExtraBadPosition
Sourcepub const HeadTrackingWeight: Self
pub const HeadTrackingWeight: Self
0x94 - ExtraHeadTrackingWeight
Sourcepub const ShouldWear: Self
pub const ShouldWear: Self
0x96 - ExtraShouldWear
Sourcepub const AttachedArrows3D: Self
pub const AttachedArrows3D: Self
0x98 - ExtraAttachedArrows3D
Sourcepub const TextDisplayData: Self
pub const TextDisplayData: Self
0x99 - ExtraTextDisplayData
Sourcepub const AlphaCutoff: Self
pub const AlphaCutoff: Self
0x9A - ExtraAlphaCutoff
Sourcepub const Enchantment: Self
pub const Enchantment: Self
0x9B - ExtraEnchantment
Sourcepub const ForcedTarget: Self
pub const ForcedTarget: Self
0x9D - ExtraForcedTarget
Sourcepub const DecalGroup: Self
pub const DecalGroup: Self
0xA2 - ExtraDecalGroup
Sourcepub const ForcedLandingMarker: Self
pub const ForcedLandingMarker: Self
0xA4 - ExtraForcedLandingMarker
Sourcepub const LargeRefOwnerCells: Self
pub const LargeRefOwnerCells: Self
0xA5 - ExtraLargeRefOwnerCells
Sourcepub const CellWaterEnvMap: Self
pub const CellWaterEnvMap: Self
0xA6 - ExtraCellWaterEnvMap
Sourcepub const CellGrassData: Self
pub const CellGrassData: Self
0xA7 - ExtraCellGrassData
Sourcepub const TeleportName: Self
pub const TeleportName: Self
0xA8 - ExtraTeleportName
Sourcepub const Interaction: Self
pub const Interaction: Self
0xA9 - ExtraInteraction
Sourcepub const WaterCurrentZoneData: Self
pub const WaterCurrentZoneData: Self
0xAB - ExtraWaterCurrentZoneData
Sourcepub const AttachRefChildren: Self
pub const AttachRefChildren: Self
0xAD - ExtraAttachRefChildren
Sourcepub const GroupConstraint: Self
pub const GroupConstraint: Self
0xAE - ExtraGroupConstraint
Sourcepub const ScriptedAnimDependence: Self
pub const ScriptedAnimDependence: Self
0xAF - ExtraScriptedAnimDependence
Sourcepub const CachedScale: Self
pub const CachedScale: Self
0xB0 - ExtraCachedScale
Sourcepub const MissingRefIDs: Self
pub const MissingRefIDs: Self
0xB3 - ExtraMissingRefIDs
Sourcepub const ResourcesPreload: Self
pub const ResourcesPreload: Self
0xB5 - ExtraResourcesPreload
Source§impl ExtraDataType
impl ExtraDataType
Sourcepub const fn bits(&self) -> u32
pub const fn bits(&self) -> u32
Get the underlying bits value.
The returned value is exactly the bits set in this flags value.
Sourcepub const fn from_bits(bits: u32) -> Option<Self>
pub const fn from_bits(bits: u32) -> Option<Self>
Convert from a bits value.
This method will return None
if any unknown bits are set.
Sourcepub const fn from_bits_truncate(bits: u32) -> Self
pub const fn from_bits_truncate(bits: u32) -> Self
Convert from a bits value, unsetting any unknown bits.
Sourcepub const fn from_bits_retain(bits: u32) -> Self
pub const fn from_bits_retain(bits: u32) -> Self
Convert from a bits value exactly.
Sourcepub fn from_name(name: &str) -> Option<Self>
pub fn from_name(name: &str) -> Option<Self>
Get a flags value with the bits of a flag with the given name set.
This method will return None
if name
is empty or doesn’t
correspond to any named flag.
Sourcepub const fn intersects(&self, other: Self) -> bool
pub const fn intersects(&self, other: Self) -> bool
Whether any set bits in a source flags value are also set in a target flags value.
Sourcepub const fn contains(&self, other: Self) -> bool
pub const fn contains(&self, other: Self) -> bool
Whether all set bits in a source flags value are also set in a target flags value.
Sourcepub fn remove(&mut self, other: Self)
pub fn remove(&mut self, other: Self)
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
remove
won’t truncate other
, but the !
operator will.
Sourcepub fn toggle(&mut self, other: Self)
pub fn toggle(&mut self, other: Self)
The bitwise exclusive-or (^
) of the bits in two flags values.
Sourcepub fn set(&mut self, other: Self, value: bool)
pub fn set(&mut self, other: Self, value: bool)
Call insert
when value
is true
or remove
when value
is false
.
Sourcepub const fn intersection(self, other: Self) -> Self
pub const fn intersection(self, other: Self) -> Self
The bitwise and (&
) of the bits in two flags values.
Sourcepub const fn union(self, other: Self) -> Self
pub const fn union(self, other: Self) -> Self
The bitwise or (|
) of the bits in two flags values.
Sourcepub const fn difference(self, other: Self) -> Self
pub const fn difference(self, other: Self) -> Self
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.
Sourcepub const fn symmetric_difference(self, other: Self) -> Self
pub const fn symmetric_difference(self, other: Self) -> Self
The bitwise exclusive-or (^
) of the bits in two flags values.
Sourcepub const fn complement(self) -> Self
pub const fn complement(self) -> Self
The bitwise negation (!
) of the bits in a flags value, truncating the result.
Source§impl ExtraDataType
impl ExtraDataType
Sourcepub const fn iter(&self) -> Iter<ExtraDataType>
pub const fn iter(&self) -> Iter<ExtraDataType>
Yield a set of contained flags values.
Each yielded flags value will correspond to a defined named flag. Any unknown bits will be yielded together as a final flags value.
Sourcepub const fn iter_names(&self) -> IterNames<ExtraDataType>
pub const fn iter_names(&self) -> IterNames<ExtraDataType>
Yield a set of contained named flags values.
This method is like iter
, except only yields bits in contained named flags.
Any unknown bits, or bits not corresponding to a contained flag will not be yielded.
Trait Implementations§
Source§impl Binary for ExtraDataType
impl Binary for ExtraDataType
Source§impl BitAnd for ExtraDataType
impl BitAnd for ExtraDataType
Source§impl BitAndAssign for ExtraDataType
impl BitAndAssign for ExtraDataType
Source§fn bitand_assign(&mut self, other: Self)
fn bitand_assign(&mut self, other: Self)
The bitwise and (&
) of the bits in two flags values.
Source§impl BitOr for ExtraDataType
impl BitOr for ExtraDataType
Source§fn bitor(self, other: ExtraDataType) -> Self
fn bitor(self, other: ExtraDataType) -> Self
The bitwise or (|
) of the bits in two flags values.
Source§type Output = ExtraDataType
type Output = ExtraDataType
|
operator.Source§impl BitOrAssign for ExtraDataType
impl BitOrAssign for ExtraDataType
Source§fn bitor_assign(&mut self, other: Self)
fn bitor_assign(&mut self, other: Self)
The bitwise or (|
) of the bits in two flags values.
Source§impl BitXor for ExtraDataType
impl BitXor for ExtraDataType
Source§impl BitXorAssign for ExtraDataType
impl BitXorAssign for ExtraDataType
Source§fn bitxor_assign(&mut self, other: Self)
fn bitxor_assign(&mut self, other: Self)
The bitwise exclusive-or (^
) of the bits in two flags values.
Source§impl Clone for ExtraDataType
impl Clone for ExtraDataType
Source§fn clone(&self) -> ExtraDataType
fn clone(&self) -> ExtraDataType
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExtraDataType
impl Debug for ExtraDataType
Source§impl Default for ExtraDataType
impl Default for ExtraDataType
Source§fn default() -> ExtraDataType
fn default() -> ExtraDataType
Source§impl Extend<ExtraDataType> for ExtraDataType
impl Extend<ExtraDataType> for ExtraDataType
Source§fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = Self>>(&mut self, iterator: T)
The bitwise or (|
) of the bits in each flags value.
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one
)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one
)Source§impl Flags for ExtraDataType
impl Flags for ExtraDataType
Source§const FLAGS: &'static [Flag<ExtraDataType>]
const FLAGS: &'static [Flag<ExtraDataType>]
Source§fn from_bits_retain(bits: u32) -> ExtraDataType
fn from_bits_retain(bits: u32) -> ExtraDataType
Source§fn contains_unknown_bits(&self) -> bool
fn contains_unknown_bits(&self) -> bool
true
if any unknown bits are set.Source§fn from_bits_truncate(bits: Self::Bits) -> Self
fn from_bits_truncate(bits: Self::Bits) -> Self
Source§fn from_name(name: &str) -> Option<Self>
fn from_name(name: &str) -> Option<Self>
Source§fn iter_names(&self) -> IterNames<Self>
fn iter_names(&self) -> IterNames<Self>
Source§fn intersects(&self, other: Self) -> boolwhere
Self: Sized,
fn intersects(&self, other: Self) -> boolwhere
Self: Sized,
Source§fn contains(&self, other: Self) -> boolwhere
Self: Sized,
fn contains(&self, other: Self) -> boolwhere
Self: Sized,
Source§fn insert(&mut self, other: Self)where
Self: Sized,
fn insert(&mut self, other: Self)where
Self: Sized,
|
) of the bits in two flags values.Source§fn remove(&mut self, other: Self)where
Self: Sized,
fn remove(&mut self, other: Self)where
Self: Sized,
&!
). Read moreSource§fn toggle(&mut self, other: Self)where
Self: Sized,
fn toggle(&mut self, other: Self)where
Self: Sized,
^
) of the bits in two flags values.Source§fn intersection(self, other: Self) -> Self
fn intersection(self, other: Self) -> Self
&
) of the bits in two flags values.Source§fn difference(self, other: Self) -> Self
fn difference(self, other: Self) -> Self
&!
). Read moreSource§fn symmetric_difference(self, other: Self) -> Self
fn symmetric_difference(self, other: Self) -> Self
^
) of the bits in two flags values.Source§fn complement(self) -> Self
fn complement(self) -> Self
!
) of the bits in a flags value, truncating the result.Source§impl FromIterator<ExtraDataType> for ExtraDataType
impl FromIterator<ExtraDataType> for ExtraDataType
Source§fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
fn from_iter<T: IntoIterator<Item = Self>>(iterator: T) -> Self
The bitwise or (|
) of the bits in each flags value.
Source§impl Hash for ExtraDataType
impl Hash for ExtraDataType
Source§impl IntoIterator for ExtraDataType
impl IntoIterator for ExtraDataType
Source§impl LowerHex for ExtraDataType
impl LowerHex for ExtraDataType
Source§impl Not for ExtraDataType
impl Not for ExtraDataType
Source§impl Octal for ExtraDataType
impl Octal for ExtraDataType
Source§impl Ord for ExtraDataType
impl Ord for ExtraDataType
Source§fn cmp(&self, other: &ExtraDataType) -> Ordering
fn cmp(&self, other: &ExtraDataType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ExtraDataType
impl PartialEq for ExtraDataType
Source§impl PartialOrd for ExtraDataType
impl PartialOrd for ExtraDataType
Source§impl PublicFlags for ExtraDataType
impl PublicFlags for ExtraDataType
Source§impl Sub for ExtraDataType
impl Sub for ExtraDataType
Source§fn sub(self, other: Self) -> Self
fn sub(self, other: Self) -> Self
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.
Source§type Output = ExtraDataType
type Output = ExtraDataType
-
operator.Source§impl SubAssign for ExtraDataType
impl SubAssign for ExtraDataType
Source§fn sub_assign(&mut self, other: Self)
fn sub_assign(&mut self, other: Self)
The intersection of a source flags value with the complement of a target flags value (&!
).
This method is not equivalent to self & !other
when other
has unknown bits set.
difference
won’t truncate other
, but the !
operator will.