MCPcopy Index your code
hub / github.com/aiscriptdev/aiscript / ValidMask

Interface ValidMask

aiscript-arena/src/types.rs:280–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

278 use core::cell::Cell;
279
280 trait ValidMask<const MASK: usize> {
281 const CHECK: ();
282 }
283
284 impl<T, const MASK: usize> ValidMask<MASK> for T {
285 const CHECK: () = assert!(MASK < core::mem::align_of::<T>());

Callers

nothing calls this directly

Implementers 1

types.rsaiscript-arena/src/types.rs

Calls

no outgoing calls

Tested by

no test coverage detected