Skip to main content

RudaDigitExtractor

Trait RudaDigitExtractor 

Source
pub trait RudaDigitExtractor<K: RudaType>: RudaType + RudaType<ExpandType: RudaDigitExtractorExpand<K>> {
    // Required method
    fn digit(&self, key: K) -> u32;

    // Provided method
    fn __expand_digit(
        scope: &mut Scope,
        this: <Self as RudaType>::ExpandType,
        key: <K as RudaType>::ExpandType,
    ) -> <u32 as RudaType>::ExpandType { ... }
}

Required Methods§

Source

fn digit(&self, key: K) -> u32

Provided Methods§

Source

fn __expand_digit( scope: &mut Scope, this: <Self as RudaType>::ExpandType, key: <K as RudaType>::ExpandType, ) -> <u32 as RudaType>::ExpandType

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§