pub struct NativeBinary {
pub bytes: Vec<u8>,
pub build_flags: String,
}Expand description
A compiled Intel native binary retrieved from zeModuleGetNativeBinary.
Fields§
§bytes: Vec<u8>The opaque native-binary blob (driver-specific ISA + metadata).
build_flags: StringBuild flags the binary was compiled with (part of its identity).
Implementations§
Source§impl NativeBinary
impl NativeBinary
Trait Implementations§
Source§impl Clone for NativeBinary
impl Clone for NativeBinary
Source§fn clone(&self) -> NativeBinary
fn clone(&self) -> NativeBinary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NativeBinary
impl Debug for NativeBinary
impl Eq for NativeBinary
Source§impl PartialEq for NativeBinary
impl PartialEq for NativeBinary
Source§fn eq(&self, other: &NativeBinary) -> bool
fn eq(&self, other: &NativeBinary) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NativeBinary
Auto Trait Implementations§
impl Freeze for NativeBinary
impl RefUnwindSafe for NativeBinary
impl Send for NativeBinary
impl Sync for NativeBinary
impl Unpin for NativeBinary
impl UnsafeUnpin for NativeBinary
impl UnwindSafe for NativeBinary
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