Trait diffus::Same[][src]

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

Required methods

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

Implementations on Foreign Types

impl<T: Same> Same for Option<T>[src]

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

impl Same for i64[src]

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

impl Same for i32[src]

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

impl Same for i16[src]

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

impl Same for i8[src]

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

impl Same for u64[src]

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

impl Same for u32[src]

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

impl Same for u16[src]

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

impl Same for u8[src]

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

impl Same for char[src]

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

impl Same for str[src]

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

impl Same for bool[src]

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

impl Same for isize[src]

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

impl Same for usize[src]

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

impl Same for ()[src]

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

impl Same for f32[src]

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

impl Same for f64[src]

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

impl<T: Same + ?Sized> Same for &T[src]

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

Implementors