pub struct JointConfig {
pub left_segment_id: usize,
pub right_segment_id: usize,
pub equilibrium_tolerance: f64,
}Expand description
One interior joint connecting adjacent segments
Fields§
§left_segment_id: usize§right_segment_id: usize§equilibrium_tolerance: f64Trait Implementations§
Source§impl Clone for JointConfig
impl Clone for JointConfig
Source§fn clone(&self) -> JointConfig
fn clone(&self) -> JointConfig
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 moreSource§impl Debug for JointConfig
impl Debug for JointConfig
Source§impl<'de> Deserialize<'de> for JointConfig
impl<'de> Deserialize<'de> for JointConfig
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
Auto Trait Implementations§
impl Freeze for JointConfig
impl RefUnwindSafe for JointConfig
impl Send for JointConfig
impl Sync for JointConfig
impl Unpin for JointConfig
impl UnsafeUnpin for JointConfig
impl UnwindSafe for JointConfig
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