pub struct Attack {Show 19 fields
pub name: Option<String>,
pub crit_chance: Option<f32>,
pub crit_mult: Option<f32>,
pub status_chance: Option<f32>,
pub shot_type: Option<f32>,
pub shot_speed: Option<f32>,
pub duration: Option<f32>,
pub radius: Option<f32>,
pub speed: Option<f32>,
pub pellet: Option<Box<AttackPellet>>,
pub charge_time: Option<f32>,
pub flight: Option<f32>,
pub falloff: Option<Box<AttackFalloff>>,
pub damage: Option<Box<Damage>>,
pub slide: Option<String>,
pub jump: Option<String>,
pub wall: Option<String>,
pub channeling: Option<f32>,
pub slam: Option<Box<SlamAttack>>,
}Fields§
§name: Option<String>§crit_chance: Option<f32>§crit_mult: Option<f32>§status_chance: Option<f32>§shot_type: Option<f32>§shot_speed: Option<f32>§duration: Option<f32>§radius: Option<f32>§speed: Option<f32>§pellet: Option<Box<AttackPellet>>§charge_time: Option<f32>§flight: Option<f32>§falloff: Option<Box<AttackFalloff>>§damage: Option<Box<Damage>>§slide: Option<String>§jump: Option<String>§wall: Option<String>§channeling: Option<f32>§slam: Option<Box<SlamAttack>>Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Attack
impl<'de> Deserialize<'de> for Attack
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Attack
Auto Trait Implementations§
impl Freeze for Attack
impl RefUnwindSafe for Attack
impl Send for Attack
impl Sync for Attack
impl Unpin for Attack
impl UnwindSafe for Attack
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