pub struct CustomColdFormed {
pub vertices: Vec<Point>,
pub holes: Vec<Vec<Point>>,
pub thickness: f64,
pub material: Option<Material>,
}Expand description
Custom cold-formed profile from arbitrary points.
Fields§
§vertices: Vec<Point>§holes: Vec<Vec<Point>>§thickness: f64§material: Option<Material>Implementations§
Trait Implementations§
Source§impl Clone for CustomColdFormed
impl Clone for CustomColdFormed
Source§impl Debug for CustomColdFormed
impl Debug for CustomColdFormed
Source§impl ParametricSection for CustomColdFormed
impl ParametricSection for CustomColdFormed
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].
Auto Trait Implementations§
impl Freeze for CustomColdFormed
impl RefUnwindSafe for CustomColdFormed
impl Send for CustomColdFormed
impl Sync for CustomColdFormed
impl Unpin for CustomColdFormed
impl UnsafeUnpin for CustomColdFormed
impl UnwindSafe for CustomColdFormed
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