pub struct ProgramWithDefines<PublicDefines, const PROGRAM_SIZE: usize> {
pub program: Program<PROGRAM_SIZE>,
pub public_defines: PublicDefines,
}
Expand description
Parsed program with defines.
Fields§
§program: Program<PROGRAM_SIZE>
The compiled program.
public_defines: PublicDefines
Public defines.
Auto Trait Implementations§
impl<PublicDefines, const PROGRAM_SIZE: usize> Freeze for ProgramWithDefines<PublicDefines, PROGRAM_SIZE>where
PublicDefines: Freeze,
impl<PublicDefines, const PROGRAM_SIZE: usize> RefUnwindSafe for ProgramWithDefines<PublicDefines, PROGRAM_SIZE>where
PublicDefines: RefUnwindSafe,
impl<PublicDefines, const PROGRAM_SIZE: usize> Send for ProgramWithDefines<PublicDefines, PROGRAM_SIZE>where
PublicDefines: Send,
impl<PublicDefines, const PROGRAM_SIZE: usize> Sync for ProgramWithDefines<PublicDefines, PROGRAM_SIZE>where
PublicDefines: Sync,
impl<PublicDefines, const PROGRAM_SIZE: usize> Unpin for ProgramWithDefines<PublicDefines, PROGRAM_SIZE>where
PublicDefines: Unpin,
impl<PublicDefines, const PROGRAM_SIZE: usize> UnwindSafe for ProgramWithDefines<PublicDefines, PROGRAM_SIZE>where
PublicDefines: UnwindSafe,
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