pub enum LinearLayoutCompilationArg {
    Plain(<PlainLayout as LaunchArg>::CompilationArg),
    Strided(<StridedLayout as LaunchArg>::CompilationArg),
    Permuted(<PermutedLayout as LaunchArg>::CompilationArg),
}Variants§
Plain(<PlainLayout as LaunchArg>::CompilationArg)
Strided(<StridedLayout as LaunchArg>::CompilationArg)
Permuted(<PermutedLayout as LaunchArg>::CompilationArg)
Trait Implementations§
Source§impl Clone for LinearLayoutCompilationArg
 
impl Clone for LinearLayoutCompilationArg
Source§impl CompilationArg for LinearLayoutCompilationArg
 
impl CompilationArg for LinearLayoutCompilationArg
Source§fn dynamic_cast<Arg>(&self) -> Argwhere
    Arg: CompilationArg,
 
fn dynamic_cast<Arg>(&self) -> Argwhere
    Arg: CompilationArg,
Compilation args should be the same even with different element types. However, it isn’t
possible to enforce it with the type system. So, we make the compilation args serializable
and dynamically cast them. Read more
Source§impl Debug for LinearLayoutCompilationArg
 
impl Debug for LinearLayoutCompilationArg
Source§impl Hash for LinearLayoutCompilationArg
 
impl Hash for LinearLayoutCompilationArg
impl Eq for LinearLayoutCompilationArg
Auto Trait Implementations§
impl Freeze for LinearLayoutCompilationArg
impl RefUnwindSafe for LinearLayoutCompilationArg
impl Send for LinearLayoutCompilationArg
impl Sync for LinearLayoutCompilationArg
impl Unpin for LinearLayoutCompilationArg
impl UnwindSafe for LinearLayoutCompilationArg
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<Q, K> Equivalent<K> for Q
 
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
 
fn equivalent(&self, key: &K) -> bool
Compare self to 
key and return true if they are equal.