MCPcopy Create free account
hub / github.com/eigenform/perfect / ModRm

Class ModRm

perfect/src/experiments/decoder.rs:112–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110// ddrrrmmm
111#[derive(Clone, Copy, Debug, PartialEq, Eq)]
112pub struct ModRm(u8);
113impl ModRm { pub fn as_byte(&self) -> u8 { self.0 } }
114impl Distribution<ModRm> for Standard {
115 fn sample<R: Rng + ?Sized>(&self, rng: &mut R) -> ModRm {

Callers 1

sampleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected