Struct spirq::parse::bin::SpirvBinary
source · pub struct SpirvBinary(/* private fields */);
Expand description
SPIR-V program binary.
Implementations§
Trait Implementations§
source§impl Clone for SpirvBinary
impl Clone for SpirvBinary
source§fn clone(&self) -> SpirvBinary
fn clone(&self) -> SpirvBinary
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 SpirvBinary
impl Debug for SpirvBinary
source§impl Default for SpirvBinary
impl Default for SpirvBinary
source§fn default() -> SpirvBinary
fn default() -> SpirvBinary
Returns the “default value” for a type. Read more
source§impl From<&[u32]> for SpirvBinary
impl From<&[u32]> for SpirvBinary
source§fn from(x: &[u32]) -> SpirvBinary
fn from(x: &[u32]) -> SpirvBinary
Converts to this type from the input type.
source§impl From<&[u8]> for SpirvBinary
impl From<&[u8]> for SpirvBinary
source§fn from(x: &[u8]) -> SpirvBinary
fn from(x: &[u8]) -> SpirvBinary
Converts to this type from the input type.
source§impl FromIterator<u32> for SpirvBinary
impl FromIterator<u32> for SpirvBinary
source§fn from_iter<I>(iter: I) -> SpirvBinarywhere
I: IntoIterator<Item = u32>,
fn from_iter<I>(iter: I) -> SpirvBinarywhere
I: IntoIterator<Item = u32>,
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for SpirvBinary
impl RefUnwindSafe for SpirvBinary
impl Send for SpirvBinary
impl Sync for SpirvBinary
impl Unpin for SpirvBinary
impl UnwindSafe for SpirvBinary
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)