Skip to main content

SlicePartialEq

Trait SlicePartialEq 

Source
#[doc(hidden)]
trait SlicePartialEq<B> { // Required method unsafe fn equal_same_length( lhs: *const Self, rhs: *const B, len: usize, ) -> bool; }

Required Methods§

Source

unsafe fn equal_same_length(lhs: *const Self, rhs: *const B, len: usize) -> bool

§Safety

lhs and rhs are both readable for len elements

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.

Implementors§

Source§

impl<A, B> SlicePartialEq<B> for A
where A: BytewiseEq<B>,

Source§

impl<A, B> SlicePartialEq<B> for A
where A: PartialEq<B>,