pub struct CaseSize {
pub diameter_m: f64,
pub length_m: f64,
}Expand description
The case a supplied curve describes: where its motor’s size comes from, to compare with the size the design gives the motor.
Fields§
§diameter_m: f64The case diameter, m.
length_m: f64The case length, m.
Trait Implementations§
impl Copy for CaseSize
Source§impl<'de> Deserialize<'de> for CaseSize
impl<'de> Deserialize<'de> for CaseSize
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
impl StructuralPartialEq for CaseSize
Auto Trait Implementations§
impl Freeze for CaseSize
impl RefUnwindSafe for CaseSize
impl Send for CaseSize
impl Sync for CaseSize
impl Unpin for CaseSize
impl UnsafeUnpin for CaseSize
impl UnwindSafe for CaseSize
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