pub struct ComputeState {
pub module: Option<ShaderModule>,
pub entry_point: Option<String>,
pub constants: Option<Vec<ConstantEntry>>,
/* private fields */
}Fields§
§module: Option<ShaderModule>§entry_point: Option<String>§constants: Option<Vec<ConstantEntry>>Implementations§
Source§impl ComputeState
impl ComputeState
pub fn new() -> Self
pub fn with_extension(self, extension: ComputeStateExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ComputeState
impl RefUnwindSafe for ComputeState
impl Send for ComputeState
impl Sync for ComputeState
impl Unpin for ComputeState
impl UnsafeUnpin for ComputeState
impl UnwindSafe for ComputeState
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