pub struct ModalRecord { /* private fields */ }Implementations§
Source§impl ModalRecord
impl ModalRecord
pub fn new( freq: f64, weight: f64, shape: Vec<f64>, observed_damping: Option<f64>, quality: Option<f64>, ) -> Self
pub fn freq(&self) -> f64
pub fn weight(&self) -> f64
pub fn shape(&self) -> &[f64]
pub fn observed_damping(&self) -> Option<f64>
pub fn quality(&self) -> Option<f64>
Trait Implementations§
Source§impl Clone for ModalRecord
impl Clone for ModalRecord
Source§fn clone(&self) -> ModalRecord
fn clone(&self) -> ModalRecord
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ModalRecord
impl RefUnwindSafe for ModalRecord
impl Send for ModalRecord
impl Sync for ModalRecord
impl Unpin for ModalRecord
impl UnsafeUnpin for ModalRecord
impl UnwindSafe for ModalRecord
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