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