pub struct TargetMetadata {
pub id: TargetIdx,
pub npc_id: Option<u32>,
pub display_name: String,
pub group: GroupId,
pub enemy_tags: Vec<Box<str>>,
pub group_tags: Vec<Box<str>>,
}Expand description
Immutable target metadata used to build the protobuf target dictionary.
Fields§
§id: TargetIdx§npc_id: Option<u32>§display_name: String§group: GroupIdTrait Implementations§
Source§impl Clone for TargetMetadata
impl Clone for TargetMetadata
Source§fn clone(&self) -> TargetMetadata
fn clone(&self) -> TargetMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TargetMetadata
impl Debug for TargetMetadata
Source§impl PartialEq for TargetMetadata
impl PartialEq for TargetMetadata
impl Eq for TargetMetadata
impl StructuralPartialEq for TargetMetadata
Auto Trait Implementations§
impl Freeze for TargetMetadata
impl RefUnwindSafe for TargetMetadata
impl Send for TargetMetadata
impl Sync for TargetMetadata
impl Unpin for TargetMetadata
impl UnsafeUnpin for TargetMetadata
impl UnwindSafe for TargetMetadata
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