Enum libamdgpu_top::stat::GfxoffMode
source · #[repr(u32)]pub enum GfxoffMode {
Disable,
Enable,
Unknown(u32),
}Variants§
Implementations§
source§impl GfxoffMode
impl GfxoffMode
pub fn get(instance: u32) -> Result<Self>
pub fn is_disabled(&self) -> bool
pub fn is_enabled(&self) -> bool
Trait Implementations§
source§impl Debug for GfxoffMode
impl Debug for GfxoffMode
source§impl From<u32> for GfxoffMode
impl From<u32> for GfxoffMode
source§impl PartialEq for GfxoffMode
impl PartialEq for GfxoffMode
source§fn eq(&self, other: &GfxoffMode) -> bool
fn eq(&self, other: &GfxoffMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for GfxoffMode
impl StructuralEq for GfxoffMode
impl StructuralPartialEq for GfxoffMode
Auto Trait Implementations§
impl RefUnwindSafe for GfxoffMode
impl Send for GfxoffMode
impl Sync for GfxoffMode
impl Unpin for GfxoffMode
impl UnwindSafe for GfxoffMode
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