Enum bme680::OversamplingSetting
source · #[repr(u8)]
pub enum OversamplingSetting {
OSNone,
OS1x,
OS2x,
OS4x,
OS8x,
OS16x,
}
Expand description
Over-sampling settings
Variants
OSNone
OS1x
OS2x
OS4x
OS8x
OS16x
Implementations
sourceimpl OversamplingSetting
impl OversamplingSetting
pub fn from_u8(os: u8) -> OversamplingSetting
Trait Implementations
sourceimpl Clone for OversamplingSetting
impl Clone for OversamplingSetting
sourcefn clone(&self) -> OversamplingSetting
fn clone(&self) -> OversamplingSetting
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for OversamplingSetting
impl Debug for OversamplingSetting
impl Copy for OversamplingSetting
Auto Trait Implementations
impl RefUnwindSafe for OversamplingSetting
impl Send for OversamplingSetting
impl Sync for OversamplingSetting
impl Unpin for OversamplingSetting
impl UnwindSafe for OversamplingSetting
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more