[go: up one dir, main page]

Function eq

Source
pub fn eq<A, B>(a: &A, b: &B) -> bool
Expand description

Compare backing memory for equality.

Compare the backing memory of two values for equality. Return true if the memory compares equal, false if not. Note that all memory must compare equal, including padding bytes (which have no guaranteed nor stable value).