pub struct AmmoType {
pub action: &'static [TriggerItem],
pub clamp_position: bool,
pub consumption_modifier: f32,
pub cooldown_modifier: f64,
pub energy_consumption: f64,
pub range_modifier: f64,
pub target_filter: &'static [&'static str],
pub target_type: TargetType,
}Fields§
§action: &'static [TriggerItem]§clamp_position: bool§consumption_modifier: f32§cooldown_modifier: f64§energy_consumption: f64§range_modifier: f64§target_filter: &'static [&'static str]§target_type: TargetTypeTrait Implementations§
impl Copy for AmmoType
impl StructuralPartialEq for AmmoType
Auto Trait Implementations§
impl Freeze for AmmoType
impl RefUnwindSafe for AmmoType
impl Send for AmmoType
impl Sync for AmmoType
impl Unpin for AmmoType
impl UnsafeUnpin for AmmoType
impl UnwindSafe for AmmoType
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