Struct tinkerforge::dual_button_bricklet::ButtonState
source · Fields
Trait Implementations
sourceimpl Clone for ButtonState
impl Clone for ButtonState
sourcefn clone(&self) -> ButtonState
fn clone(&self) -> ButtonState
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 ButtonState
impl Debug for ButtonState
sourceimpl Default for ButtonState
impl Default for ButtonState
sourcefn default() -> ButtonState
fn default() -> ButtonState
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for ButtonState
impl FromByteSlice for ButtonState
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]) -> ButtonState
fn from_le_bytes(bytes: &[u8]) -> ButtonState
Deserialize the implementing type from a byte slice.
sourceimpl Hash for ButtonState
impl Hash for ButtonState
sourceimpl PartialEq<ButtonState> for ButtonState
impl PartialEq<ButtonState> for ButtonState
sourcefn eq(&self, other: &ButtonState) -> bool
fn eq(&self, other: &ButtonState) -> bool
impl Copy for ButtonState
impl Eq for ButtonState
impl StructuralEq for ButtonState
impl StructuralPartialEq for ButtonState
Auto Trait Implementations
impl RefUnwindSafe for ButtonState
impl Send for ButtonState
impl Sync for ButtonState
impl Unpin for ButtonState
impl UnwindSafe for ButtonState
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