pub trait StaticArrayOpBuilder: Dataflow {
// Provided methods
fn add_static_array_get(
&mut self,
elem_ty: Type,
array: Wire,
index: Wire,
) -> Result<Wire, BuildError> { ... }
fn add_static_array_len(
&mut self,
elem_ty: Type,
array: Wire,
) -> Result<Wire, BuildError> { ... }
}
Expand description
A trait for building static array operations in a dataflow graph.
Provided Methods§
Sourcefn add_static_array_get(
&mut self,
elem_ty: Type,
array: Wire,
index: Wire,
) -> Result<Wire, BuildError>
fn add_static_array_get( &mut self, elem_ty: Type, array: Wire, index: Wire, ) -> Result<Wire, BuildError>
Sourcefn add_static_array_len(
&mut self,
elem_ty: Type,
array: Wire,
) -> Result<Wire, BuildError>
fn add_static_array_len( &mut self, elem_ty: Type, array: Wire, ) -> Result<Wire, BuildError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.