pub struct TashTalkFeatures { /* private fields */ }Expand description
Features that can be enabled on firmware v2.1.0+
Implementations§
Source§impl TashTalkFeatures
impl TashTalkFeatures
Sourcepub fn new() -> TashTalkFeatures
pub fn new() -> TashTalkFeatures
Create a new empty feature set.
Sourcepub fn with_crc_calculation(self) -> TashTalkFeatures
pub fn with_crc_calculation(self) -> TashTalkFeatures
Enable CRC calculation on the device.
Sourcepub fn with_crc_checking(self) -> TashTalkFeatures
pub fn with_crc_checking(self) -> TashTalkFeatures
Enable CRC checking on the device.
Sourcepub fn with_crc(self) -> TashTalkFeatures
pub fn with_crc(self) -> TashTalkFeatures
Convenience method to enable both CRC calculation and checking.
Trait Implementations§
Source§impl Clone for TashTalkFeatures
impl Clone for TashTalkFeatures
Source§fn clone(&self) -> TashTalkFeatures
fn clone(&self) -> TashTalkFeatures
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TashTalkFeatures
Source§impl Debug for TashTalkFeatures
impl Debug for TashTalkFeatures
Source§impl Default for TashTalkFeatures
impl Default for TashTalkFeatures
Source§fn default() -> TashTalkFeatures
fn default() -> TashTalkFeatures
Returns the “default value” for a type. Read more
impl Eq for TashTalkFeatures
Source§impl PartialEq for TashTalkFeatures
impl PartialEq for TashTalkFeatures
Source§fn eq(&self, other: &TashTalkFeatures) -> bool
fn eq(&self, other: &TashTalkFeatures) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TashTalkFeatures
Auto Trait Implementations§
impl Freeze for TashTalkFeatures
impl RefUnwindSafe for TashTalkFeatures
impl Send for TashTalkFeatures
impl Sync for TashTalkFeatures
impl Unpin for TashTalkFeatures
impl UnsafeUnpin for TashTalkFeatures
impl UnwindSafe for TashTalkFeatures
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