Trait hydro_lang::singleton::ZipResult

source ·
pub trait ZipResult<'a, Other> {
    type Out;
    type Location;

    // Required methods
    fn other_location(other: &Other) -> Self::Location;
    fn other_ir_node(other: Other) -> HydroNode;
    fn make(location: Self::Location, ir_node: HydroNode) -> Self::Out;
}

Required Associated Types§

Required Methods§

source

fn other_location(other: &Other) -> Self::Location

source

fn other_ir_node(other: Other) -> HydroNode

source

fn make(location: Self::Location, ir_node: HydroNode) -> Self::Out

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<'a, T, U: Clone, L: Location<'a>, B> ZipResult<'a, Optional<U, Tick<L>, B>> for Singleton<T, Tick<L>, B>

source§

impl<'a, T, U: Clone, L: Location<'a>, B> ZipResult<'a, Optional<U, Timestamped<L>, B>> for Singleton<T, Timestamped<L>, B>

source§

impl<'a, T, U: Clone, L: Location<'a>, B> ZipResult<'a, Singleton<U, Tick<L>, B>> for Singleton<T, Tick<L>, B>

source§

impl<'a, T, U: Clone, L: Location<'a>, B> ZipResult<'a, Singleton<U, Timestamped<L>, B>> for Singleton<T, Timestamped<L>, B>