1
0
Fork 0
forked from wry/wry

compositor: add LogLevel enum

This commit is contained in:
Julian Orth 2026-03-07 11:40:45 +01:00
parent be0782f5d2
commit 042070ee99
26 changed files with 131 additions and 106 deletions

View file

@ -31,12 +31,10 @@ where
}
}
#[expect(dead_code)]
pub fn load(&self, ordering: Ordering) -> T {
unsafe { T::from_linear_unchecked(self.v.load(ordering)) }
}
#[expect(dead_code)]
pub fn store(&self, t: T, ordering: Ordering) {
self.v.store(t.linearize(), ordering);
}