MCPcopy Create free account
hub / github.com/Rust-GPU/rust-gpu / iter

Method iter

crates/rustc_codegen_spirv/src/linker/specializer.rs:950–963  ·  view source on GitHub ↗
(
        &self,
        cx: &'b InferCx<'_, impl Specialization>,
    )

Source from the content-addressed store, hash-verified

948 }
949
950 fn iter<'b>(
951 &self,
952 cx: &'b InferCx<'_, impl Specialization>,
953 ) -> impl Iterator<Item = InferOperand> + 'b
954 where
955 'a: 'b,
956 {
957 let mut list = self.clone();
958 iter::from_fn(move || {
959 let (next, rest) = list.split_first(cx)?;
960 list = rest;
961 Some(next)
962 })
963 }
964
965 fn display_with_infer_cx<'b>(
966 &'b self,

Callers 15

test_rustc_flagsMethod · 0.80
run_modeMethod · 0.80
build_depsFunction · 0.80
compile_shadersFunction · 0.80
newMethod · 0.80
create_swapchainMethod · 0.80
create_image_viewsMethod · 0.80
create_framebuffersMethod · 0.80
rebuild_pipelinesMethod · 0.80
renderMethod · 0.80
maybe_watchFunction · 0.80
start_internalFunction · 0.80

Calls 1

split_firstMethod · 0.80

Tested by

no test coverage detected