pub struct AbilitySpec {
pub charges: u8,
pub recharge_seconds: f32,
pub cost: f32,
}Fields§
§charges: u8§recharge_seconds: f32§cost: f32Trait Implementations§
Source§impl Clone for AbilitySpec
impl Clone for AbilitySpec
Source§fn clone(&self) -> AbilitySpec
fn clone(&self) -> AbilitySpec
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 AbilitySpec
impl Debug for AbilitySpec
impl Copy for AbilitySpec
Auto Trait Implementations§
impl Freeze for AbilitySpec
impl RefUnwindSafe for AbilitySpec
impl Send for AbilitySpec
impl Sync for AbilitySpec
impl Unpin for AbilitySpec
impl UnwindSafe for AbilitySpec
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