Struct tinkerforge::dual_button_bricklet::LedState
source · Fields
led_l: u8
led_r: u8
Trait Implementations
sourceimpl FromByteSlice for LedState
impl FromByteSlice for LedState
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> LedState
fn from_le_bytes(bytes: &[u8]) -> LedState
Deserialize the implementing type from a byte slice.
impl Copy for LedState
impl Eq for LedState
impl StructuralEq for LedState
impl StructuralPartialEq for LedState
Auto Trait Implementations
impl RefUnwindSafe for LedState
impl Send for LedState
impl Sync for LedState
impl Unpin for LedState
impl UnwindSafe for LedState
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