MCPcopy Create free account
hub / github.com/emberian/evdev / ArrayedEvdevEnum

Interface ArrayedEvdevEnum

src/attribute_set.rs:217–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

215}
216
217pub trait ArrayedEvdevEnum: EvdevEnum {
218 type Array;
219 fn array_as_slice(arr: &Self::Array) -> &BitSlice<u8>;
220 fn array_as_slice_mut(arr: &mut Self::Array) -> &mut BitSlice<u8>;
221 fn array_as_buf(arr: &mut Self::Array) -> &mut [u8];
222 fn zeroed_array() -> Self::Array;
223}
224
225macro_rules! evdev_enum {
226 ($t:ty, Array, $($(#[$attr:meta])* $c:ident = $val:expr,)*) => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…