pub struct Program { /* private fields */ }Expand description
Owned handle to a validated host shader program.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Program
impl !UnwindSafe for Program
impl Forget for Program
impl Freeze for Programwhere
*const ArcInner<dyn ProgramHandle> is !null: Freeze,
PhantomData<ArcInner<dyn ProgramHandle>>: Freeze,
impl Move for Program
impl Send for Program
impl Sync for Program
impl Unpin for Program
impl UnsafeUnpin for Programwhere
*const ArcInner<dyn ProgramHandle> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ProgramHandle>>: UnsafeUnpin,
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