MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/splashsurf / len

Method len

splashsurf_lib/src/utils.rs:46–48  ·  view source on GitHub ↗

Returns the length of the wrapped slice

(&self)

Source from the content-addressed store, hash-verified

44
45 /// Returns the length of the wrapped slice
46 pub fn len(&self) -> usize {
47 self.slice.len()
48 }
49
50 /// Returns a mutable reference to an element of the wrapped slice without doing bounds checking, simultaneous access has to be disjoint!
51 /// SAFETY: It is unsound to obtain two mutable references to the same index.

Callers 15

seq_resize_and_fillFunction · 0.45
par_resize_and_fillFunction · 0.45
vertex_one_ring_lenMethod · 0.45
fromMethod · 0.45
par_from_pointsMethod · 0.45
interpolate_normalsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected