pub struct BadAttackSpeed(pub u8);
Tuple Fields§
§0: u8
Trait Implementations§
Source§impl Debug for BadAttackSpeed
impl Debug for BadAttackSpeed
Source§impl Display for BadAttackSpeed
impl Display for BadAttackSpeed
Source§impl Error for BadAttackSpeed
impl Error for BadAttackSpeed
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<BadAttackSpeed> for DecodeError
impl From<BadAttackSpeed> for DecodeError
Source§fn from(source: BadAttackSpeed) -> Self
fn from(source: BadAttackSpeed) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for BadAttackSpeed
impl RefUnwindSafe for BadAttackSpeed
impl Send for BadAttackSpeed
impl Sync for BadAttackSpeed
impl Unpin for BadAttackSpeed
impl UnwindSafe for BadAttackSpeed
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