liblisa::value

Trait ValueArrayEquality

pub trait ValueArrayEquality {
    // Required method
    fn value_eq<V: AsValue>(&self, other: &[V]) -> bool;
}
Expand description

Helper trait that provides value_eq, which compares equality of collections whose elements implement AsValue.

Required Methods§

fn value_eq<V: AsValue>(&self, other: &[V]) -> bool

Returns true if the array of values is equal to other.

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.

Implementations on Foreign Types§

§

impl<V: AsValue> ValueArrayEquality for &[V]

§

fn value_eq<W: AsValue>(&self, other: &[W]) -> bool

§

impl<V: AsValue> ValueArrayEquality for &Vec<V>

§

fn value_eq<W: AsValue>(&self, other: &[W]) -> bool

§

impl<V: AsValue> ValueArrayEquality for Vec<V>

§

fn value_eq<W: AsValue>(&self, other: &[W]) -> bool

Implementors§