Trait vizia_core::binding::Data

source ·
pub trait Data: 'static + Clone {
    // Required method
    fn same(&self, other: &Self) -> bool;
}
Expand description

A trait for fast comparisons of data. Implemented by any type which can be bound to, i.e. can be cached and compared against previous versions.

Required Methods§

source

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

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Data for &'static str

source§

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

source§

impl Data for IpAddr

source§

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

source§

impl Data for SocketAddr

source§

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

source§

impl Data for ErrorKind

source§

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

source§

impl Data for bool

source§

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

source§

impl Data for char

source§

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

source§

impl Data for f32

source§

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

source§

impl Data for f64

source§

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

source§

impl Data for i8

source§

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

source§

impl Data for i16

source§

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

source§

impl Data for i32

source§

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

source§

impl Data for i64

source§

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

source§

impl Data for i128

source§

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

source§

impl Data for isize

source§

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

source§

impl Data for u8

source§

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

source§

impl Data for u16

source§

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

source§

impl Data for u32

source§

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

source§

impl Data for u64

source§

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

source§

impl Data for u128

source§

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

source§

impl Data for ()

source§

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

source§

impl Data for usize

source§

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

source§

impl Data for String

source§

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

source§

impl Data for Ipv4Addr

source§

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

source§

impl Data for Ipv6Addr

source§

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

source§

impl Data for SocketAddrV4

source§

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

source§

impl Data for SocketAddrV6

source§

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

source§

impl Data for RangeFull

source§

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

source§

impl Data for Duration

source§

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

source§

impl Data for PathBuf

source§

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

source§

impl Data for Instant

source§

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

source§

impl Data for SystemTime

source§

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

source§

impl Data for NaiveDate

source§

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

source§

impl Data for NaiveTime

source§

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

source§

impl Data for NonZeroI8

source§

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

source§

impl Data for NonZeroI16

source§

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

source§

impl Data for NonZeroI32

source§

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

source§

impl Data for NonZeroI64

source§

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

source§

impl Data for NonZeroI128

source§

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

source§

impl Data for NonZeroIsize

source§

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

source§

impl Data for NonZeroU8

source§

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

source§

impl Data for NonZeroU16

source§

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

source§

impl Data for NonZeroU32

source§

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

source§

impl Data for NonZeroU64

source§

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

source§

impl Data for NonZeroU128

source§

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

source§

impl Data for NonZeroUsize

source§

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

source§

impl Data for KeyChord

source§

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

source§

impl Data for LanguageIdentifier

source§

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

source§

impl<T0: Data> Data for (T0,)

source§

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

source§

impl<T0: Data, T1: Data> Data for (T0, T1)

source§

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

source§

impl<T0: Data, T1: Data, T2: Data> Data for (T0, T1, T2)

source§

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

source§

impl<T0: Data, T1: Data, T2: Data, T3: Data> Data for (T0, T1, T2, T3)

source§

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

source§

impl<T0: Data, T1: Data, T2: Data, T3: Data, T4: Data> Data for (T0, T1, T2, T3, T4)

source§

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

source§

impl<T0: Data, T1: Data, T2: Data, T3: Data, T4: Data, T5: Data> Data for (T0, T1, T2, T3, T4, T5)

source§

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

source§

impl<T: 'static + Data> Data for ManuallyDrop<T>

source§

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

source§

impl<T: 'static + ?Sized> Data for PhantomData<T>

source§

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

source§

impl<T: 'static> Data for Discriminant<T>

source§

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

source§

impl<T: Hash + Eq + Data> Data for HashSet<T>

source§

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

source§

impl<T: Hash + Eq + Data, V: Data> Data for HashMap<T, V>

source§

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

source§

impl<T: Data> Data for &'static [T]

source§

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

source§

impl<T: Data> Data for Bound<T>

source§

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

source§

impl<T: Data> Data for Option<T>

source§

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

source§

impl<T: Data> Data for Vec<T>

source§

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

source§

impl<T: Data> Data for Wrapping<T>

source§

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

source§

impl<T: Data> Data for Range<T>

source§

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

source§

impl<T: Data> Data for RangeFrom<T>

source§

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

source§

impl<T: Data> Data for RangeInclusive<T>

source§

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

source§

impl<T: Data> Data for RangeTo<T>

source§

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

source§

impl<T: Data> Data for RangeToInclusive<T>

source§

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

source§

impl<T: Data, U: Data> Data for Result<T, U>

source§

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

source§

impl<T: ?Sized + 'static> Data for Rc<T>

source§

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

source§

impl<T: ?Sized + 'static> Data for Weak<T>

source§

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

source§

impl<T: ?Sized + 'static> Data for Arc<T>

source§

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

source§

impl<T: ?Sized + 'static> Data for Weak<T>

source§

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

Implementors§