#[repr(u8)]pub enum RotationMode {
Cav = 0,
Clv = 1,
}Available on crate feature
mmc only.Expand description
Rotation mode used by the drive.
Variants§
Cav = 0
Constant Angular Velocity: Maintains a fixed rotation rate. Provides faster seek times.
Clv = 1
Constant Linear Velocity: Variable rotation rate. Provides consistent data rates.
Trait Implementations§
Source§impl Clone for RotationMode
impl Clone for RotationMode
Source§fn clone(&self) -> RotationMode
fn clone(&self) -> RotationMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RotationMode
Source§impl Debug for RotationMode
impl Debug for RotationMode
Source§impl Default for RotationMode
impl Default for RotationMode
Source§fn default() -> RotationMode
fn default() -> RotationMode
Returns the “default value” for a type. Read more
impl Eq for RotationMode
Source§impl Hash for RotationMode
impl Hash for RotationMode
Source§impl Ord for RotationMode
impl Ord for RotationMode
Source§fn cmp(&self, other: &RotationMode) -> Ordering
fn cmp(&self, other: &RotationMode) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RotationMode
impl PartialEq for RotationMode
Source§impl PartialOrd for RotationMode
impl PartialOrd for RotationMode
impl StructuralPartialEq for RotationMode
Auto Trait Implementations§
impl Freeze for RotationMode
impl RefUnwindSafe for RotationMode
impl Send for RotationMode
impl Sync for RotationMode
impl Unpin for RotationMode
impl UnsafeUnpin for RotationMode
impl UnwindSafe for RotationMode
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