Trait uiua::ArrayValue
source · pub trait ArrayValue: Clone + Debug + Display + GridFmt + ArrayCmp + Send + Sync + 'static {
const NAME: &'static str;
// Required methods
fn get_fill(env: &Uiua) -> Option<Self>;
fn array_hash<H: Hasher>(&self, hasher: &mut H);
// Provided methods
fn format_delims() -> (&'static str, &'static str) { ... }
fn format_sep() -> &'static str { ... }
}Expand description
A trait for types that can be used as array elements
Required Associated Constants§
Required Methods§
sourcefn array_hash<H: Hasher>(&self, hasher: &mut H)
fn array_hash<H: Hasher>(&self, hasher: &mut H)
Hash the value
Provided Methods§
sourcefn format_delims() -> (&'static str, &'static str)
fn format_delims() -> (&'static str, &'static str)
Delimiters for formatting
sourcefn format_sep() -> &'static str
fn format_sep() -> &'static str
Separator for formatting
Object Safety§
This trait is not object safe.