Struct QrComputeParams
#[non_exhaustive]pub struct QrComputeParams {
pub disable_blocking: Option<fn(_: usize, _: usize) -> bool>,
pub disable_parallelism: Option<fn(_: usize, _: usize) -> bool>,
}
Expand description
QR factorization tuning parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.disable_blocking: Option<fn(_: usize, _: usize) -> bool>
At which size blocking algorithms should be disabled. None
to automatically determine
this threshold.
disable_parallelism: Option<fn(_: usize, _: usize) -> bool>
At which size the parallelism should be disabled. None
to automatically determine this
threshold.
Trait Implementations§
§impl Clone for QrComputeParams
impl Clone for QrComputeParams
§fn clone(&self) -> QrComputeParams
fn clone(&self) -> QrComputeParams
Returns a copy 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 more§impl Default for QrComputeParams
impl Default for QrComputeParams
§fn default() -> QrComputeParams
fn default() -> QrComputeParams
Returns the “default value” for a type. Read more
impl Copy for QrComputeParams
Auto Trait Implementations§
impl Freeze for QrComputeParams
impl RefUnwindSafe for QrComputeParams
impl Send for QrComputeParams
impl Sync for QrComputeParams
impl Unpin for QrComputeParams
impl UnwindSafe for QrComputeParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more