Struct spirv_tools::error::Message
source · pub struct Message {
pub level: MessageLevel,
pub source: Option<String>,
pub line: usize,
pub column: usize,
pub index: usize,
pub message: String,
pub notes: String,
}
Fields§
§level: MessageLevel
§source: Option<String>
§line: usize
§column: usize
§index: usize
§message: String
§notes: String
Some messages can include additional information, typically instructions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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