pub trait WordSource {
// Required method
fn word(&self, index: ValueIndex) -> Word;
}Expand description
A source of words addressable by ValueIndex.
ValueVec reads its own buffer.
A ValueTable row reads a strided column instead.
Required Methods§
Sourcefn word(&self, index: ValueIndex) -> Word
fn word(&self, index: ValueIndex) -> Word
Returns the word at the given index.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".