pub struct WgslLowering { /* private fields */ }Expand description
WGSL code generator.
Implementations§
Source§impl WgslLowering
impl WgslLowering
Sourcepub fn new(config: WgslLoweringConfig) -> Self
pub fn new(config: WgslLoweringConfig) -> Self
Create a new WGSL lowering pass.
Auto Trait Implementations§
impl Freeze for WgslLowering
impl RefUnwindSafe for WgslLowering
impl Send for WgslLowering
impl Sync for WgslLowering
impl Unpin for WgslLowering
impl UnwindSafe for WgslLowering
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more