Struct tinkerforge::servo_v2_bricklet::PulseWidth
source · pub struct PulseWidth {
pub min: u32,
pub max: u32,
}
Fields§
§min: u32
§max: u32
Trait Implementations§
source§impl Clone for PulseWidth
impl Clone for PulseWidth
source§fn clone(&self) -> PulseWidth
fn clone(&self) -> PulseWidth
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PulseWidth
impl Debug for PulseWidth
source§impl Default for PulseWidth
impl Default for PulseWidth
source§fn default() -> PulseWidth
fn default() -> PulseWidth
Returns the “default value” for a type. Read more
source§impl FromByteSlice for PulseWidth
impl FromByteSlice for PulseWidth
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]) -> PulseWidth
fn from_le_byte_slice(bytes: &[u8]) -> PulseWidth
Deserialize the implementing type from a byte slice.
source§impl Hash for PulseWidth
impl Hash for PulseWidth
source§impl PartialEq for PulseWidth
impl PartialEq for PulseWidth
source§fn eq(&self, other: &PulseWidth) -> bool
fn eq(&self, other: &PulseWidth) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PulseWidth
impl Eq for PulseWidth
impl StructuralPartialEq for PulseWidth
Auto Trait Implementations§
impl RefUnwindSafe for PulseWidth
impl Send for PulseWidth
impl Sync for PulseWidth
impl Unpin for PulseWidth
impl UnwindSafe for PulseWidth
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