[−][src]Struct spirq::SpirvBinary
SPIR-V program binary.
Implementations
impl SpirvBinary[src]
pub fn reflect(&self) -> Result<Box<[EntryPoint]>>[src]
pub fn words(&self) -> &[u32][src]
pub fn bytes(&self) -> &[u8][src]
pub fn into_words(self) -> Vec<u32>[src]
Trait Implementations
impl Clone for SpirvBinary[src]
fn clone(&self) -> SpirvBinary[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for SpirvBinary[src]
impl Default for SpirvBinary[src]
fn default() -> SpirvBinary[src]
impl<'_> From<&'_ [u8]> for SpirvBinary[src]
impl From<Vec<u32>> for SpirvBinary[src]
impl From<Vec<u8>> for SpirvBinary[src]
impl FromIterator<u32> for SpirvBinary[src]
fn from_iter<I: IntoIterator<Item = u32>>(iter: I) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for SpirvBinary
impl Send for SpirvBinary
impl Sync for SpirvBinary
impl Unpin for SpirvBinary
impl UnwindSafe for SpirvBinary
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,