pub struct KernelCompileSpec {
pub n_state: usize,
pub n_control: usize,
pub dt_s: f64,
pub unroll_factor: usize,
}Expand description
Compile-time shape metadata for generated kernels.
Fields§
§n_state: usize§n_control: usize§dt_s: f64§unroll_factor: usizeImplementations§
Trait Implementations§
Source§impl Clone for KernelCompileSpec
impl Clone for KernelCompileSpec
Source§fn clone(&self) -> KernelCompileSpec
fn clone(&self) -> KernelCompileSpec
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 moreSource§impl Debug for KernelCompileSpec
impl Debug for KernelCompileSpec
Source§impl Default for KernelCompileSpec
impl Default for KernelCompileSpec
Source§impl PartialEq for KernelCompileSpec
impl PartialEq for KernelCompileSpec
impl Copy for KernelCompileSpec
impl StructuralPartialEq for KernelCompileSpec
Auto Trait Implementations§
impl Freeze for KernelCompileSpec
impl RefUnwindSafe for KernelCompileSpec
impl Send for KernelCompileSpec
impl Sync for KernelCompileSpec
impl Unpin for KernelCompileSpec
impl UnwindSafe for KernelCompileSpec
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§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