pub struct ProgramRecord<P> { /* private fields */ }Implementations§
Source§impl<P> ProgramRecord<P>
impl<P> ProgramRecord<P>
pub fn resource(&self) -> Result<&P, DeviceStateError>
pub const fn context_id(&self) -> ObjectId
pub const fn resident_bytes(&self) -> u64
pub const fn in_flight(&self) -> u32
pub const fn release_state(&self) -> ReleaseState
Trait Implementations§
Auto Trait Implementations§
impl<P> Freeze for ProgramRecord<P>where
P: Freeze,
impl<P> RefUnwindSafe for ProgramRecord<P>where
P: RefUnwindSafe,
impl<P> Send for ProgramRecord<P>where
P: Send,
impl<P> Sync for ProgramRecord<P>where
P: Sync,
impl<P> Unpin for ProgramRecord<P>where
P: Unpin,
impl<P> UnsafeUnpin for ProgramRecord<P>where
P: UnsafeUnpin,
impl<P> UnwindSafe for ProgramRecord<P>where
P: 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