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.

Object Safety§

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§