MCPcopy Create free account
hub / github.com/PerroEngine/Perro / as_slice

Method as_slice

perro_source/render_stack/perro_app/src/input/joycon/mod.rs:272–274  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

270 }
271
272 impl RawJoyConReport {
273 fn new(data: &[u8]) -> Option<Self> {
274 if data.len() > REPORT_LEN {
275 return None;
276 }
277 let mut bytes = [0u8; REPORT_LEN];

Callers 15

flush_sprite_packetsMethod · 0.45
choose_present_modeFunction · 0.45
custom_sky_wgsl_parsesFunction · 0.45
prepare_frameMethod · 0.45
stage_custom_paramsMethod · 0.45
handle_eventMethod · 0.45
parse_inputFunction · 0.45
parse_include_strFunction · 0.45
decode_gltf_meshFunction · 0.45
parse_vec_valueFunction · 0.45

Calls

no outgoing calls