pub enum WgslShaderSourceOutputType {
FinalShaderString,
Composer,
}Variants§
FinalShaderString
Include the final shader string directly in the output
Composer
Use Composer including helper functions which will be executed on runtime
Trait Implementations§
source§impl Clone for WgslShaderSourceOutputType
impl Clone for WgslShaderSourceOutputType
source§fn clone(&self) -> WgslShaderSourceOutputType
fn clone(&self) -> WgslShaderSourceOutputType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for WgslShaderSourceOutputType
impl Debug for WgslShaderSourceOutputType
source§impl Default for WgslShaderSourceOutputType
impl Default for WgslShaderSourceOutputType
source§fn default() -> WgslShaderSourceOutputType
fn default() -> WgslShaderSourceOutputType
Returns the “default value” for a type. Read more
source§impl PartialEq for WgslShaderSourceOutputType
impl PartialEq for WgslShaderSourceOutputType
source§fn eq(&self, other: &WgslShaderSourceOutputType) -> bool
fn eq(&self, other: &WgslShaderSourceOutputType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for WgslShaderSourceOutputType
impl Eq for WgslShaderSourceOutputType
impl StructuralPartialEq for WgslShaderSourceOutputType
Auto Trait Implementations§
impl RefUnwindSafe for WgslShaderSourceOutputType
impl Send for WgslShaderSourceOutputType
impl Sync for WgslShaderSourceOutputType
impl Unpin for WgslShaderSourceOutputType
impl UnwindSafe for WgslShaderSourceOutputType
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.