pub struct OctagonSection {
pub d: f64,
pub n: usize,
}Expand description
Octagon section.
Mirrors Python octagon_section(d, n, rot).
Fields§
§d: f64§n: usizeImplementations§
Trait Implementations§
Source§impl Clone for OctagonSection
impl Clone for OctagonSection
impl Copy for OctagonSection
Source§impl Debug for OctagonSection
impl Debug for OctagonSection
Source§impl ParametricSection for OctagonSection
impl ParametricSection for OctagonSection
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 OctagonSection
impl PartialEq for OctagonSection
impl StructuralPartialEq for OctagonSection
Auto Trait Implementations§
impl Freeze for OctagonSection
impl RefUnwindSafe for OctagonSection
impl Send for OctagonSection
impl Sync for OctagonSection
impl Unpin for OctagonSection
impl UnsafeUnpin for OctagonSection
impl UnwindSafe for OctagonSection
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