pub struct ProductName(/* private fields */);Expand description
Name of the sensor in ASCII
Implementations§
Source§impl ProductName
impl ProductName
Sourcepub fn get_name_buffer(&self) -> &[u8]
pub fn get_name_buffer(&self) -> &[u8]
Provides access the underlying buffer
Trait Implementations§
Source§impl Clone for ProductName
impl Clone for ProductName
Source§fn clone(&self) -> ProductName
fn clone(&self) -> ProductName
Returns a duplicate 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 TryFrom<&[u8]> for ProductName
impl TryFrom<&[u8]> for ProductName
impl Copy for ProductName
Auto Trait Implementations§
impl Freeze for ProductName
impl RefUnwindSafe for ProductName
impl Send for ProductName
impl Sync for ProductName
impl Unpin for ProductName
impl UnwindSafe for ProductName
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