INNER CODE UNIT · Rust

set_debug_name

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

                pub fn set_debug_name(&self, name: impl AsRef<str>) {
                    self.cache().pipeline.set_debug_name(name);
                }

                /// Sets the debugging name assigned to this pipeline.
                ///
                /// _Note:_ The pipeline name may only be assigned once.
                /// Subsequent calls will not update the previously set name value.
                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;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…