pub struct ContextHandle { /* private fields */ }Implementations§
Source§impl ContextHandle
impl ContextHandle
pub fn new( _amdgpu_dev: &DeviceHandle, ctx_handle: *mut amdgpu_context, ) -> ContextHandle
pub fn set_stable_pstate( &self, pstate_flag: StablePstateFlag, ) -> Result<StablePstateFlag, i32>
pub fn get_stable_pstate(&self) -> Result<StablePstateFlag, i32>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ContextHandle
impl RefUnwindSafe for ContextHandle
impl !Send for ContextHandle
impl !Sync for ContextHandle
impl Unpin for ContextHandle
impl UnwindSafe for ContextHandle
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