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 duplicate 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 Freeze for ModuleDebugInfo
impl RefUnwindSafe for ModuleDebugInfo
impl Send for ModuleDebugInfo
impl Sync for ModuleDebugInfo
impl Unpin for ModuleDebugInfo
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more