Function pelite::stringify::debug_type [−][src]
pub fn debug_type(debug_type: u32) -> Option<&'static str>
Stringifies the IMAGE_DEBUG_TYPE_*
constants for IMAGE_DEBUG_DIRECTORY::Type
.
Examples
let debug_type = pelite::image::IMAGE_DEBUG_TYPE_CODEVIEW; assert_eq!(pelite::stringify::debug_type(debug_type), Some("CodeView"));