pub struct AttackFalloff {
pub start: Option<f32>,
pub end: Option<f32>,
pub reduction: Option<f32>,
}Fields§
§start: Option<f32>§end: Option<f32>§reduction: Option<f32>Implementations§
Source§impl AttackFalloff
impl AttackFalloff
pub fn new() -> AttackFalloff
Trait Implementations§
Source§impl Clone for AttackFalloff
impl Clone for AttackFalloff
Source§fn clone(&self) -> AttackFalloff
fn clone(&self) -> AttackFalloff
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 AttackFalloff
impl Debug for AttackFalloff
Source§impl Default for AttackFalloff
impl Default for AttackFalloff
Source§fn default() -> AttackFalloff
fn default() -> AttackFalloff
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AttackFalloff
impl<'de> Deserialize<'de> for AttackFalloff
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
Source§impl PartialEq for AttackFalloff
impl PartialEq for AttackFalloff
Source§impl Serialize for AttackFalloff
impl Serialize for AttackFalloff
impl StructuralPartialEq for AttackFalloff
Auto Trait Implementations§
impl Freeze for AttackFalloff
impl RefUnwindSafe for AttackFalloff
impl Send for AttackFalloff
impl Sync for AttackFalloff
impl Unpin for AttackFalloff
impl UnwindSafe for AttackFalloff
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