INNER CODE UNIT · Rust

with_debug_name

attackgoat/vk-graph · crates/vk-graph-hot/src/lib.rs:295

                pub fn with_debug_name(self, name: impl AsRef<str>) -> Self {
                    self.set_debug_name(name);

                    self
                }
            }

            impl<'a> Pipeline<'a> for [<Hot $pipeline>] {
                type Command = <$pipeline as Pipeline<'a>>::Command;

                fn bind_cmd(self, cmd: Command<'a>) -> Self::Command {
                    self.compile_shader_and_bind_cmd(cmd)
                }
            }

            impl<'a> Pipeline<'a> for &'a [<Hot $pipeline>] {
                type Command = <$pipeline as Pipeline<'a>>::Command;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…