Enum naga_oil::compose::ShaderLanguage
source · pub enum ShaderLanguage {
Wgsl,
}
Variants§
Wgsl
Trait Implementations§
source§impl Clone for ShaderLanguage
impl Clone for ShaderLanguage
source§fn clone(&self) -> ShaderLanguage
fn clone(&self) -> ShaderLanguage
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 ShaderLanguage
impl Debug for ShaderLanguage
source§impl Default for ShaderLanguage
impl Default for ShaderLanguage
source§fn default() -> ShaderLanguage
fn default() -> ShaderLanguage
Returns the “default value” for a type. Read more
source§impl From<ShaderType> for ShaderLanguage
impl From<ShaderType> for ShaderLanguage
source§fn from(ty: ShaderType) -> Self
fn from(ty: ShaderType) -> Self
Converts to this type from the input type.
source§impl Hash for ShaderLanguage
impl Hash for ShaderLanguage
source§impl PartialEq for ShaderLanguage
impl PartialEq for ShaderLanguage
source§fn eq(&self, other: &ShaderLanguage) -> bool
fn eq(&self, other: &ShaderLanguage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ShaderLanguage
impl Eq for ShaderLanguage
impl StructuralPartialEq for ShaderLanguage
Auto Trait Implementations§
impl Freeze for ShaderLanguage
impl RefUnwindSafe for ShaderLanguage
impl Send for ShaderLanguage
impl Sync for ShaderLanguage
impl Unpin for ShaderLanguage
impl UnwindSafe for ShaderLanguage
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.