pub struct RectangularSection {
pub width: f64,
pub height: f64,
}Expand description
Solid rectangular section.
Fields§
§width: f64§height: f64Implementations§
Trait Implementations§
Source§impl Clone for RectangularSection
impl Clone for RectangularSection
impl Copy for RectangularSection
Source§impl Debug for RectangularSection
impl Debug for RectangularSection
Source§impl ParametricSection for RectangularSection
impl ParametricSection for RectangularSection
Source§fn designation(&self) -> String
fn designation(&self) -> String
Get the section name/designation.
Source§fn build_composite(&self, material: Material) -> CompositeSection
fn build_composite(&self, material: Material) -> CompositeSection
Build the section as a composite section with material groups.
Source§fn mass_per_length(&self, material: &Material) -> f64
fn mass_per_length(&self, material: &Material) -> f64
Get approximate mass per unit length [kg/m].
Source§impl PartialEq for RectangularSection
impl PartialEq for RectangularSection
impl StructuralPartialEq for RectangularSection
Auto Trait Implementations§
impl Forget for RectangularSection
impl Freeze for RectangularSection
impl Move for RectangularSection
impl RefUnwindSafe for RectangularSection
impl Send for RectangularSection
impl Sync for RectangularSection
impl Unpin for RectangularSection
impl UnsafeUnpin for RectangularSection
impl UnwindSafe for RectangularSection
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