pub struct DamageRange {
pub min: f64,
pub max: f64,
}Fields§
§min: f64§max: f64Trait Implementations§
Source§impl Clone for DamageRange
impl Clone for DamageRange
Source§fn clone(&self) -> DamageRange
fn clone(&self) -> DamageRange
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 DamageRange
impl Debug for DamageRange
Source§impl Default for DamageRange
impl Default for DamageRange
Source§fn default() -> DamageRange
fn default() -> DamageRange
Returns the “default value” for a type. Read more
Source§impl Mul<f64> for DamageRange
impl Mul<f64> for DamageRange
Source§type Output = DamageRange
type Output = DamageRange
The resulting type after applying the
* operator.Source§impl MulAssign<f64> for DamageRange
impl MulAssign<f64> for DamageRange
Source§fn mul_assign(&mut self, rhs: f64)
fn mul_assign(&mut self, rhs: f64)
Performs the
*= operation. Read moreimpl Copy for DamageRange
Auto Trait Implementations§
impl Freeze for DamageRange
impl RefUnwindSafe for DamageRange
impl Send for DamageRange
impl Sync for DamageRange
impl Unpin for DamageRange
impl UnsafeUnpin for DamageRange
impl UnwindSafe for DamageRange
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