pub struct GrainShape {
pub web_burned_m: f64,
pub inner_radius_m: f64,
pub height_m: f64,
}Expand description
The shape of one grain at some point in the burn.
Fields§
§web_burned_m: f64Web burned so far x, m.
inner_radius_m: f64Bore radius r₀ + x, m.
height_m: f64Grain height, m.
Trait Implementations§
Source§impl Clone for GrainShape
impl Clone for GrainShape
Source§fn clone(&self) -> GrainShape
fn clone(&self) -> GrainShape
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 GrainShape
Source§impl Debug for GrainShape
impl Debug for GrainShape
Source§impl<'de> Deserialize<'de> for GrainShape
impl<'de> Deserialize<'de> for GrainShape
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 GrainShape
impl PartialEq for GrainShape
Source§fn eq(&self, other: &GrainShape) -> bool
fn eq(&self, other: &GrainShape) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GrainShape
impl Serialize for GrainShape
impl StructuralPartialEq for GrainShape
Auto Trait Implementations§
impl Freeze for GrainShape
impl RefUnwindSafe for GrainShape
impl Send for GrainShape
impl Sync for GrainShape
impl Unpin for GrainShape
impl UnsafeUnpin for GrainShape
impl UnwindSafe for GrainShape
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