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 OpName
s for public interface variables (uniforms and the like), to allow
shader reflection.
Full
Include all OpName
s for everything, and OpLine
s. 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 for SpirvMetadata
impl PartialEq 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 StructuralPartialEq for SpirvMetadata
Auto Trait Implementations§
impl Freeze for SpirvMetadata
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