pub struct GLCompute { /* private fields */ }Trait Implementations§
Source§impl SpirvTarget for GLCompute
impl SpirvTarget for GLCompute
fn set_modes( &mut self, b: &mut SpirvCompiler<Self>, main: Word, builtins: Vec<Word>, cube_dims: Vec<u32>, )
fn generate_params( &mut self, b: &mut SpirvCompiler<Self>, bindings: &[KernelArg], visibility: &[BufferVisibility], ) -> Vec<Buffer>
fn load_params(b: &mut SpirvCompiler<Self>)
fn info_storage_class(_b: &mut SpirvCompiler<Self>) -> StorageClass
fn params_storage_class( b: &mut SpirvCompiler<Self>, num_buffers: usize, ) -> StorageClass
fn set_kernel_name(&mut self, name: impl Into<String>)
Auto Trait Implementations§
impl Freeze for GLCompute
impl RefUnwindSafe for GLCompute
impl Send for GLCompute
impl Sync for GLCompute
impl Unpin for GLCompute
impl UnsafeUnpin for GLCompute
impl UnwindSafe for GLCompute
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneExpand for Twhere
T: Clone,
impl<T> CloneExpand for Twhere
T: Clone,
fn __expand_clone_method(&self, _: &Scope) -> T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more