pub enum StridedLayoutCompilationArg {
Pitched(<FastDivmod as LaunchArgExpand>::CompilationArg),
None,
}
Variants§
Pitched(<FastDivmod as LaunchArgExpand>::CompilationArg)
None
Trait Implementations§
Source§impl Clone for StridedLayoutCompilationArg
impl Clone for StridedLayoutCompilationArg
Source§impl CompilationArg for StridedLayoutCompilationArg
impl CompilationArg for StridedLayoutCompilationArg
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 StridedLayoutCompilationArg
impl Debug for StridedLayoutCompilationArg
Source§impl<'de> Deserialize<'de> for StridedLayoutCompilationArg
impl<'de> Deserialize<'de> for StridedLayoutCompilationArg
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for StridedLayoutCompilationArg
impl Hash for StridedLayoutCompilationArg
impl Eq for StridedLayoutCompilationArg
Auto Trait Implementations§
impl Freeze for StridedLayoutCompilationArg
impl RefUnwindSafe for StridedLayoutCompilationArg
impl Send for StridedLayoutCompilationArg
impl Sync for StridedLayoutCompilationArg
impl Unpin for StridedLayoutCompilationArg
impl UnwindSafe for StridedLayoutCompilationArg
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