pub enum ReaderExpand<P: ReducePrecision> {
Parallel(<ParallelReader<P> as RudaType>::ExpandType),
Perpendicular(<PerpendicularReader<P> as RudaType>::ExpandType),
}Variants§
Parallel(<ParallelReader<P> as RudaType>::ExpandType)
Perpendicular(<PerpendicularReader<P> as RudaType>::ExpandType)
Trait Implementations§
Source§impl<P: ReducePrecision> Clone for ReaderExpand<P>
impl<P: ReducePrecision> Clone for ReaderExpand<P>
Source§impl<P: ReducePrecision> IntoMut for ReaderExpand<P>
impl<P: ReducePrecision> IntoMut for ReaderExpand<P>
Source§impl<P: ReducePrecision> RudaDebug for ReaderExpand<P>
impl<P: ReducePrecision> RudaDebug for ReaderExpand<P>
Source§fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
fn set_debug_name(&self, scope: &mut Scope, name: &'static str)
Set the debug name of this type’s expansion. Should do nothing for types that don’t appear
at runtime
Source§impl<P: ReducePrecision> RudaEnum for ReaderExpand<P>
impl<P: ReducePrecision> RudaEnum for ReaderExpand<P>
type RuntimeValue = ()
fn discriminant(&self) -> NativeExpand<i32>
Source§fn runtime_value(self) -> Self::RuntimeValue
fn runtime_value(self) -> Self::RuntimeValue
Return the runtime value of this enum, if only one variant has a value.
Should return () for all other cases.
fn discriminant_of(variant_name: &'static str) -> i32
fn discriminant_of_value(&self, variant_name: &'static str) -> i32
Auto Trait Implementations§
impl<P> !RefUnwindSafe for ReaderExpand<P>
impl<P> !Send for ReaderExpand<P>
impl<P> !Sync for ReaderExpand<P>
impl<P> !UnwindSafe for ReaderExpand<P>
impl<P> Freeze for ReaderExpand<P>where
<ParallelReader<P> as RudaType>::ExpandType: Freeze,
<PerpendicularReader<P> as RudaType>::ExpandType: Freeze,
impl<P> Unpin for ReaderExpand<P>where
<ParallelReader<P> as RudaType>::ExpandType: Unpin,
<PerpendicularReader<P> as RudaType>::ExpandType: Unpin,
impl<P> UnsafeUnpin for ReaderExpand<P>where
<ParallelReader<P> as RudaType>::ExpandType: UnsafeUnpin,
<PerpendicularReader<P> as RudaType>::ExpandType: UnsafeUnpin,
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