#[repr(i32)]pub enum Rpm {
Unknown = -1,
NonRotatingMedium = 0,
UnknownRotationalSpeed = 1,
Rpm(i32),
}
Expand description
Possible values for disk RPM.
Variants§
Unknown = -1
Unknown
NonRotatingMedium = 0
Non-rotational media disk
UnknownRotationalSpeed = 1
rotational disk with unknown speed
Rpm(i32)
Rotating disk with specified speed in RPM
Trait Implementations§
impl Copy for Rpm
impl Eq for Rpm
impl StructuralPartialEq for Rpm
Auto Trait Implementations§
impl Freeze for Rpm
impl RefUnwindSafe for Rpm
impl Send for Rpm
impl Sync for Rpm
impl Unpin for Rpm
impl UnwindSafe for Rpm
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)