Skip to main content

CommentReplaceExt

Trait CommentReplaceExt 

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

Required Methods§

Source

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

replace WGSL and GLSL comments with whitespace characters

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

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

Implementors§