A high performance rust-powered UI layout library
Rust 497HTML 254C 19JavaScript 81329 Definiciones
Add (nightly) no_std support 30c626da4 · Maximilian Goisser · hace 7 años
30c626da4
1/// Determine if two borrowed pointers point to the same thing. 2#[inline] 3pub fn ref_eq<'a, 'b, T>(thing: &'a T, other: &'b T) -> bool { 4 (thing as *const T) == (other as *const T) 5}