Struct spirq::parse::bin::SpirvHeader
source · pub struct SpirvHeader {
pub magic: u32,
pub version: u32,
pub generator: u32,
pub bound: u32,
pub schema: u32,
}
Fields§
§magic: u32
§version: u32
§generator: u32
§bound: u32
§schema: u32
Implementations§
Trait Implementations§
source§impl Clone for SpirvHeader
impl Clone for SpirvHeader
source§fn clone(&self) -> SpirvHeader
fn clone(&self) -> SpirvHeader
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 SpirvHeader
impl Debug for SpirvHeader
source§impl Default for SpirvHeader
impl Default for SpirvHeader
source§fn default() -> SpirvHeader
fn default() -> SpirvHeader
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SpirvHeader
impl RefUnwindSafe for SpirvHeader
impl Send for SpirvHeader
impl Sync for SpirvHeader
impl Unpin for SpirvHeader
impl UnwindSafe for SpirvHeader
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