Struct tinkerforge::servo_v2_bricklet::Degree
source · pub struct Degree {
pub min: i16,
pub max: i16,
}
Fields§
§min: i16
§max: i16
Trait Implementations§
source§impl FromByteSlice for Degree
impl FromByteSlice for Degree
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]) -> Degree
fn from_le_byte_slice(bytes: &[u8]) -> Degree
Deserialize the implementing type from a byte slice.
source§impl PartialEq for Degree
impl PartialEq for Degree
impl Copy for Degree
impl Eq for Degree
impl StructuralPartialEq for Degree
Auto Trait Implementations§
impl RefUnwindSafe for Degree
impl Send for Degree
impl Sync for Degree
impl Unpin for Degree
impl UnwindSafe for Degree
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