pub struct GradeDistribution {
pub flat_m: f64,
pub rolling_m: f64,
pub steep_m: f64,
pub savage_m: f64,
}Fields§
§flat_m: f64§rolling_m: f64§steep_m: f64§savage_m: f64Implementations§
Trait Implementations§
Source§impl AddAssign for GradeDistribution
impl AddAssign for GradeDistribution
Source§fn add_assign(&mut self, rhs: Self)
fn add_assign(&mut self, rhs: Self)
Performs the
+= operation. Read moreSource§impl Clone for GradeDistribution
impl Clone for GradeDistribution
Source§fn clone(&self) -> GradeDistribution
fn clone(&self) -> GradeDistribution
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GradeDistribution
Source§impl Debug for GradeDistribution
impl Debug for GradeDistribution
Source§impl Default for GradeDistribution
impl Default for GradeDistribution
Source§fn default() -> GradeDistribution
fn default() -> GradeDistribution
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GradeDistribution
impl<'de> Deserialize<'de> for GradeDistribution
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 GradeDistribution
impl PartialEq for GradeDistribution
Source§impl Serialize for GradeDistribution
impl Serialize for GradeDistribution
impl StructuralPartialEq for GradeDistribution
Auto Trait Implementations§
impl Freeze for GradeDistribution
impl RefUnwindSafe for GradeDistribution
impl Send for GradeDistribution
impl Sync for GradeDistribution
impl Unpin for GradeDistribution
impl UnsafeUnpin for GradeDistribution
impl UnwindSafe for GradeDistribution
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