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

Method for_each

perro_source/runtime_project/perro_scene/src/scene.rs:739–743  ·  view source on GitHub ↗
(self, mut f: impl FnMut(&str, &'a SceneValue))

Source from the content-addressed store, hash-verified

737 SceneValue::Vec4 { x, y, z, w } => Ok(Self::Vec4([*x, *y, *z, *w])),
738 _ => Err(()),
739 }
740 }
741}
742
743impl From<ConstParamValue> for SceneValue {
744 fn from(value: ConstParamValue) -> Self {
745 match value {
746 ConstParamValue::Bool(v) => Self::Bool(v),

Callers 15

ui_style_from_entriesFunction · 0.45
as_depth_effectFunction · 0.45
as_gradientFunction · 0.45
read_inv_bind_matsFunction · 0.45
apply_water_body_fieldsFunction · 0.45
build_camera_stream_2dFunction · 0.45

Calls 1

as_refMethod · 0.45

Tested by

no test coverage detected