pub struct Truss {
pub nodes: (Rc<Node>, Rc<Node>),
pub material: Rc<Material>,
pub section: Rc<Section>,
}Fields§
§nodes: (Rc<Node>, Rc<Node>)§material: Rc<Material>§section: Rc<Section>Implementations§
Source§impl Truss
impl Truss
pub fn get_length(&self) -> f64
pub fn get_matrix( &self, dimension: u8, mat_size: usize, i: usize, j: usize, ) -> CooMat
pub fn get_1_d_matrix(&self, mat_size: usize, i: usize, j: usize) -> CooMat
pub fn get_2_d_matrix(&self, mat_size: usize, x: usize, y: usize) -> CooMat
pub fn get_3_d_matrix(&self, mat_size: usize, x: usize, y: usize) -> CooMat
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Truss
impl<'de> Deserialize<'de> for Truss
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
impl StructuralPartialEq for Truss
Auto Trait Implementations§
impl Freeze for Truss
impl RefUnwindSafe for Truss
impl !Send for Truss
impl !Sync for Truss
impl Unpin for Truss
impl UnwindSafe for Truss
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