Struct spirt::spv::ModuleDebugInfo
source · pub struct ModuleDebugInfo {
pub original_generator_magic: Option<NonZeroU32>,
pub source_languages: BTreeMap<DebugSourceLang, DebugSources>,
pub source_extensions: Vec<String>,
pub module_processes: Vec<String>,
}
Expand description
Non-semantic details (i.e. debuginfo) of a SPIR-V module (not tied to any IDs).
Fields§
§original_generator_magic: Option<NonZeroU32>
§source_languages: BTreeMap<DebugSourceLang, DebugSources>
§source_extensions: Vec<String>
§module_processes: Vec<String>
Trait Implementations§
source§impl Clone for ModuleDebugInfo
impl Clone for ModuleDebugInfo
source§fn clone(&self) -> ModuleDebugInfo
fn clone(&self) -> ModuleDebugInfo
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 Print for ModuleDebugInfo
impl Print for ModuleDebugInfo
source§impl Visit for ModuleDebugInfo
impl Visit for ModuleDebugInfo
fn visit_with<'a>(&'a self, visitor: &mut impl Visitor<'a>)
Auto Trait Implementations§
impl RefUnwindSafe for ModuleDebugInfo
impl Send for ModuleDebugInfo
impl Sync for ModuleDebugInfo
impl Unpin for ModuleDebugInfo
impl UnwindSafe for ModuleDebugInfo
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