pub struct MultiSegmentBeam {
pub segments: Vec<SegmentConfig>,
pub joints: Vec<JointConfig>,
pub distributed_load: f64,
}Expand description
The full multi-segment beam problem
Fields§
§segments: Vec<SegmentConfig>§joints: Vec<JointConfig>§distributed_load: f64Implementations§
Source§impl MultiSegmentBeam
impl MultiSegmentBeam
pub fn segment_count(&self) -> usize
pub fn joint_count(&self) -> usize
Trait Implementations§
Source§impl Clone for MultiSegmentBeam
impl Clone for MultiSegmentBeam
Source§fn clone(&self) -> MultiSegmentBeam
fn clone(&self) -> MultiSegmentBeam
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 MultiSegmentBeam
impl Debug for MultiSegmentBeam
Source§impl<'de> Deserialize<'de> for MultiSegmentBeam
impl<'de> Deserialize<'de> for MultiSegmentBeam
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 MultiSegmentBeam
impl RefUnwindSafe for MultiSegmentBeam
impl Send for MultiSegmentBeam
impl Sync for MultiSegmentBeam
impl Unpin for MultiSegmentBeam
impl UnsafeUnpin for MultiSegmentBeam
impl UnwindSafe for MultiSegmentBeam
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