pub struct EllipticalSection {
pub semi_major: f64,
pub semi_minor: f64,
pub n_vertices: usize,
}Expand description
Elliptical section.
Fields§
§semi_major: f64§semi_minor: f64§n_vertices: usizeImplementations§
Trait Implementations§
Source§impl Clone for EllipticalSection
impl Clone for EllipticalSection
impl Copy for EllipticalSection
Source§impl Debug for EllipticalSection
impl Debug for EllipticalSection
Source§impl ParametricSection for EllipticalSection
impl ParametricSection for EllipticalSection
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 EllipticalSection
impl PartialEq for EllipticalSection
impl StructuralPartialEq for EllipticalSection
Auto Trait Implementations§
impl Freeze for EllipticalSection
impl RefUnwindSafe for EllipticalSection
impl Send for EllipticalSection
impl Sync for EllipticalSection
impl Unpin for EllipticalSection
impl UnsafeUnpin for EllipticalSection
impl UnwindSafe for EllipticalSection
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