pub struct BootstrapEngine { /* private fields */ }Expand description
Bootstrap Resampling Engine
Implementations§
Source§impl BootstrapEngine
impl BootstrapEngine
Sourcepub fn new(config: BootstrapConfig) -> Result<Self, String>
pub fn new(config: BootstrapConfig) -> Result<Self, String>
Create a new bootstrap engine
§Errors
Returns an error if the configuration is invalid (see BootstrapConfig::validate).
Sourcepub fn analyze(&mut self) -> Result<BootstrapResult, String>
pub fn analyze(&mut self) -> Result<BootstrapResult, String>
Sourcepub const fn config(&self) -> &BootstrapConfig
pub const fn config(&self) -> &BootstrapConfig
Get the configuration
Auto Trait Implementations§
impl Freeze for BootstrapEngine
impl RefUnwindSafe for BootstrapEngine
impl Send for BootstrapEngine
impl Sync for BootstrapEngine
impl Unpin for BootstrapEngine
impl UnsafeUnpin for BootstrapEngine
impl UnwindSafe for BootstrapEngine
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