Enum rusb::Speed [−][src]
pub enum Speed { Unknown, Low, Full, High, Super, }
Expand description
Device speeds. Indicates the speed at which a device is operating.
Variants
The operating system doesn’t know the device speed.
The device is operating at low speed (1.5 Mbps).
The device is operating at full speed (12 Mbps).
The device is operating at high speed (480 Mbps).
The device is operating at super speed (5 Gbps).
Trait Implementations
impl Copy for Speed
[src]
impl Eq for Speed
[src]
impl StructuralEq for Speed
[src]
impl StructuralPartialEq for Speed
[src]
Auto Trait Implementations
impl RefUnwindSafe for Speed
impl Send for Speed
impl Sync for Speed
impl Unpin for Speed
impl UnwindSafe for Speed
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more