pub struct ParameterBlockStorage { /* private fields */ }Implementations§
Source§impl ParameterBlockStorage
impl ParameterBlockStorage
pub fn new() -> Self
pub fn extend<P>(
&mut self,
parameter_blocks: impl IntoIterator<Item = P>,
) -> Result<Vec<usize>, ParameterBlockStorageError>where
P: Into<ParameterBlockOrIndex>,
pub fn blocks(&self) -> &[ParameterBlock]
pub fn get_block( &self, index: usize, ) -> Result<&ParameterBlock, ParameterBlockStorageError>
pub fn to_values(self) -> Vec<Vec<f64>>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ParameterBlockStorage
impl RefUnwindSafe for ParameterBlockStorage
impl !Send for ParameterBlockStorage
impl !Sync for ParameterBlockStorage
impl Unpin for ParameterBlockStorage
impl UnwindSafe for ParameterBlockStorage
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