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)
Implementations§
Source§impl<P: ReducePrecision> ReaderExpand<P>
impl<P: ReducePrecision> ReaderExpand<P>
pub fn __expand_field_8_Parallel_index_0( &self, ) -> <ParallelReader<P> as RudaType>::ExpandType
pub fn __expand_field_8_Parallel_reverse_0( &self, ) -> <ParallelReader<P> as RudaType>::ExpandType
pub fn __expand_field_13_Perpendicular_index_0( &self, ) -> <PerpendicularReader<P> as RudaType>::ExpandType
pub fn __expand_field_13_Perpendicular_reverse_0( &self, ) -> <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§fn into_mut(self, scope: &mut Scope) -> Self
fn into_mut(self, scope: &mut Scope) -> Self
Convert the variable into a potentially new mutable variable in
scope, copying if needed.fn expand_reference_value(self, scope: &mut Scope) -> Self
fn expand_inactive_value(self, _scope: &mut Scope) -> Self
fn expand_reference(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_absent_reference(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_reborrow(self, _scope: &mut Scope, _writable: bool) -> Self
fn expand_return_reference(self, scope: &mut Scope, writable: bool) -> Self
fn expand_deref(self, _scope: &mut Scope) -> Self
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 snapshot_for_match(self, scope: &mut Scope) -> Self
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