Skip to main content

demonstrate_pull

Function demonstrate_pull 

Source
pub fn demonstrate_pull<T: Transcendental, const BUF_SIZE: usize>(
    port: &mut dyn ActivePort<T, BUF_SIZE>,
) -> Option<[T; BUF_SIZE]>
Expand description

Example of using ActivePort trait to pull data from an input port. This function illustrates the intended pattern.