pub enum AccumulatorFormatExpand {
Multiple(<usize as RudaType>::ExpandType),
Single,
}Variants§
Multiple(<usize as RudaType>::ExpandType)
Single
Trait Implementations§
Source§impl Clone for AccumulatorFormatExpand
impl Clone for AccumulatorFormatExpand
Source§impl IntoMut for AccumulatorFormatExpand
impl IntoMut for AccumulatorFormatExpand
Source§impl RudaDebug for AccumulatorFormatExpand
impl RudaDebug for AccumulatorFormatExpand
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 RudaEnum for AccumulatorFormatExpand
impl RudaEnum for AccumulatorFormatExpand
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 !Send for AccumulatorFormatExpand
impl !Sync for AccumulatorFormatExpand
impl Freeze for AccumulatorFormatExpand
impl RefUnwindSafe for AccumulatorFormatExpand
impl Unpin for AccumulatorFormatExpand
impl UnsafeUnpin for AccumulatorFormatExpand
impl UnwindSafe for AccumulatorFormatExpand
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