naga_oil::compose::comment_strip_iter

Trait CommentReplaceExt

Source
pub trait CommentReplaceExt<'a> {
    // Required method
    fn replace_comments(&'a mut self) -> CommentReplaceIter<'_> ;
}

Required Methods§

Source

fn replace_comments(&'a mut self) -> CommentReplaceIter<'_>

replace WGSL and GLSL comments with whitespace characters

Implementations on Foreign Types§

Source§

impl<'a> CommentReplaceExt<'a> for Lines<'a>

Implementors§