pub enum TargetType {
Entity,
Position,
Direction,
}Expand description
Target type of an AmmoType.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TargetType
impl Clone for TargetType
Source§fn clone(&self) -> TargetType
fn clone(&self) -> TargetType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TargetType
Source§impl Debug for TargetType
impl Debug for TargetType
Source§impl Default for TargetType
impl Default for TargetType
impl Eq for TargetType
Source§impl From<TargetType> for LuaAny
impl From<TargetType> for LuaAny
Source§fn from(_: TargetType) -> Self
fn from(_: TargetType) -> Self
Converts to this type from the input type.
Source§impl From<TargetType> for &'static str
impl From<TargetType> for &'static str
Source§fn from(value: TargetType) -> Self
fn from(value: TargetType) -> Self
Converts to this type from the input type.
Source§impl Hash for TargetType
impl Hash for TargetType
Source§impl PartialEq for TargetType
impl PartialEq for TargetType
Source§impl PartialEq<&str> for TargetType
impl PartialEq<&str> for TargetType
Source§impl PartialEq<TargetType> for &str
impl PartialEq<TargetType> for &str
impl StructuralPartialEq for TargetType
Auto Trait Implementations§
impl Freeze for TargetType
impl RefUnwindSafe for TargetType
impl Send for TargetType
impl Sync for TargetType
impl Unpin for TargetType
impl UnsafeUnpin for TargetType
impl UnwindSafe for TargetType
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