1
0
Fork 0
forked from wry/wry

wl_seat: implement PartialEq

This commit is contained in:
Julian Orth 2026-03-07 14:07:11 +01:00
parent 54233cba23
commit 13483de017

View file

@ -255,6 +255,12 @@ pub struct WlSeatGlobal {
simple_im_enabled: Cell<bool>,
}
impl PartialEq for WlSeatGlobal {
fn eq(&self, other: &Self) -> bool {
self.id == other.id
}
}
#[derive(Copy, Clone)]
enum MarkMode {
Mark,