Struct tinkerforge::color_bricklet::Config
source · pub struct Config {
pub gain: u8,
pub integration_time: u8,
}
Fields§
§gain: u8
§integration_time: u8
Trait Implementations§
source§impl FromByteSlice for Config
impl FromByteSlice for Config
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> Config
fn from_le_byte_slice(bytes: &[u8]) -> Config
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Config
impl PartialEq for Config
impl Copy for Config
impl Eq for Config
impl StructuralPartialEq for Config
Auto Trait Implementations§
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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