pub struct ShaderBinary { /* private fields */ }Implementations§
Source§impl ShaderBinary
impl ShaderBinary
pub fn shader_type(&self) -> ShaderType
pub fn code_size(&self) -> usize
pub fn p_code(&self) -> *const c_void
pub fn entry_point(&self) -> *const c_char
pub fn shader_module_create_info(&self) -> ShaderModuleCreateInfo
Trait Implementations§
Source§impl Clone for ShaderBinary
impl Clone for ShaderBinary
Source§fn clone(&self) -> ShaderBinary
fn clone(&self) -> ShaderBinary
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ShaderBinary
impl RefUnwindSafe for ShaderBinary
impl Send for ShaderBinary
impl Sync for ShaderBinary
impl Unpin for ShaderBinary
impl UnwindSafe for ShaderBinary
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