diffus

Trait Same

source
pub trait Same {
    // Required method
    fn same(&self, other: &Self) -> bool;
}

Required Methods§

source

fn same(&self, other: &Self) -> bool

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Same for bool

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for char

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for f32

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for f64

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for i8

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for i16

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for i32

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for i64

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for isize

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for str

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for u8

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for u16

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for u32

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for u64

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for ()

source§

fn same(&self, other: &Self) -> bool

source§

impl Same for usize

source§

fn same(&self, other: &Self) -> bool

source§

impl<T: Same + ?Sized> Same for &T

source§

fn same(&self, other: &Self) -> bool

source§

impl<T: Same> Same for Option<T>

source§

fn same(&self, other: &Self) -> bool

Implementors§