#[repr(C)]pub struct ShaderModuleCreateInfo {
pub s_type: StructureType,
pub p_next: *const c_void,
pub flags: ShaderModuleCreateFlags,
pub code_size: usize,
pub p_code: *const u32,
}
Expand description
Fields§
§s_type: StructureType
§p_next: *const c_void
§flags: ShaderModuleCreateFlags
§code_size: usize
§p_code: *const u32
Implementations§
Source§impl ShaderModuleCreateInfo
impl ShaderModuleCreateInfo
pub fn builder<'a>() -> ShaderModuleCreateInfoBuilder<'a>
Trait Implementations§
Source§impl Clone for ShaderModuleCreateInfo
impl Clone for ShaderModuleCreateInfo
Source§fn clone(&self) -> ShaderModuleCreateInfo
fn clone(&self) -> ShaderModuleCreateInfo
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 Default for ShaderModuleCreateInfo
impl Default for ShaderModuleCreateInfo
impl Copy for ShaderModuleCreateInfo
Auto Trait Implementations§
impl Freeze for ShaderModuleCreateInfo
impl RefUnwindSafe for ShaderModuleCreateInfo
impl !Send for ShaderModuleCreateInfo
impl !Sync for ShaderModuleCreateInfo
impl Unpin for ShaderModuleCreateInfo
impl UnwindSafe for ShaderModuleCreateInfo
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)