Enum spirv_builder::SpirvMetadata
source · pub enum SpirvMetadata {
None,
NameVariables,
Full,
}
Variants§
None
Strip all names and other debug information from SPIR-V output.
NameVariables
Only include OpNames for public interface variables (uniforms and the like), to allow shader reflection.
Full
Include all OpNames for everything, and OpLines. Significantly increases binary size.
Trait Implementations§
source§impl Clone for SpirvMetadata
impl Clone for SpirvMetadata
source§fn clone(&self) -> SpirvMetadata
fn clone(&self) -> SpirvMetadata
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 SpirvMetadata
impl Debug for SpirvMetadata
source§impl PartialEq<SpirvMetadata> for SpirvMetadata
impl PartialEq<SpirvMetadata> for SpirvMetadata
source§fn eq(&self, other: &SpirvMetadata) -> bool
fn eq(&self, other: &SpirvMetadata) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpirvMetadata
impl Eq for SpirvMetadata
impl StructuralEq for SpirvMetadata
impl StructuralPartialEq for SpirvMetadata
Auto Trait Implementations§
impl RefUnwindSafe for SpirvMetadata
impl Send for SpirvMetadata
impl Sync for SpirvMetadata
impl Unpin for SpirvMetadata
impl UnwindSafe for SpirvMetadata
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