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

Method new

perfect/src/experiments.rs:33–39  ·  view source on GitHub ↗
(
        desc: &'static str, 
        func: fn(&mut X64Assembler, I)
    )

Source from the content-addressed store, hash-verified

31}
32impl <I> EmitterDesc<I> {
33 pub const fn new(
34 desc: &'static str,
35 func: fn(&mut X64Assembler, I)
36 ) -> Self
37 {
38 Self { desc, func }
39 }
40
41 pub fn desc(&self) -> &'static str {
42 self.desc

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected