MCPcopy Create free account
hub / github.com/SoftbearStudios/bitcode / encode

Method encode

src/f32.rs:17–19  ·  view source on GitHub ↗
(&mut self, t: &f32)

Source from the content-addressed store, hash-verified

15
16 #[inline(always)]
17 fn encode(&mut self, t: &f32) {
18 unsafe { self.0.push_unchecked(*t) };
19 }
20}
21
22/// [`bytemuck`] doesn't implement [`MaybeUninit`] casts. Slightly different from

Callers 1

testFunction · 0.45

Calls 1

push_uncheckedMethod · 0.80

Tested by 1

testFunction · 0.36