Skip to main content

RudaBlockPrefix

Trait RudaBlockPrefix 

Source
pub trait RudaBlockPrefix<T: RudaType>: RudaType + RudaType<ExpandType: RudaBlockPrefixExpand<T>> {
    // Required method
    fn prefix(&mut self, aggregate: T) -> T;

    // Provided method
    fn __expand_prefix(
        scope: &mut Scope,
        this: <Self as RudaType>::ExpandType,
        aggregate: <T as RudaType>::ExpandType,
    ) -> <T as RudaType>::ExpandType { ... }
}

Required Methods§

Source

fn prefix(&mut self, aggregate: T) -> T

Provided Methods§

Source

fn __expand_prefix( scope: &mut Scope, this: <Self as RudaType>::ExpandType, aggregate: <T as RudaType>::ExpandType, ) -> <T as RudaType>::ExpandType

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§