#[repr(C)]pub struct RecognitionSensorType(/* private fields */);
Expand description
Recognition sensor type identification. Always ‘B’ in the BNR.
Implementations§
Source§impl RecognitionSensorType
impl RecognitionSensorType
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Creates a new RecognitionSensorType.
Sourcepub const fn create(val: u8) -> Self
pub const fn create(val: u8) -> Self
Creates a new RecognitionSensorType from the provided parameter.
Sourcepub const fn inner(&self) -> u8
pub const fn inner(&self) -> u8
Gets the inner representation of the RecognitionSensorType.
Sourcepub fn set_inner(&mut self, val: u8)
pub fn set_inner(&mut self, val: u8)
Sets the inner representation of the RecognitionSensorType.
Sourcepub fn into_inner(self) -> u8
pub fn into_inner(self) -> u8
Converts into the inner representation of the RecognitionSensorType.
Trait Implementations§
Source§impl Clone for RecognitionSensorType
impl Clone for RecognitionSensorType
Source§fn clone(&self) -> RecognitionSensorType
fn clone(&self) -> RecognitionSensorType
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 Debug for RecognitionSensorType
impl Debug for RecognitionSensorType
Source§impl Default for RecognitionSensorType
impl Default for RecognitionSensorType
Source§fn default() -> RecognitionSensorType
fn default() -> RecognitionSensorType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RecognitionSensorType
impl<'de> Deserialize<'de> for RecognitionSensorType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for RecognitionSensorType
impl Display for RecognitionSensorType
Source§impl From<&RecognitionSensorType> for XfsMember
impl From<&RecognitionSensorType> for XfsMember
Source§fn from(val: &RecognitionSensorType) -> Self
fn from(val: &RecognitionSensorType) -> Self
Converts to this type from the input type.
Source§impl From<&RecognitionSensorType> for XfsValue
impl From<&RecognitionSensorType> for XfsValue
Source§fn from(val: &RecognitionSensorType) -> Self
fn from(val: &RecognitionSensorType) -> Self
Converts to this type from the input type.
Source§impl From<&RecognitionSensorType> for u8
impl From<&RecognitionSensorType> for u8
Source§fn from(val: &RecognitionSensorType) -> Self
fn from(val: &RecognitionSensorType) -> Self
Converts to this type from the input type.
Source§impl From<&u8> for RecognitionSensorType
impl From<&u8> for RecognitionSensorType
Source§impl From<RecognitionSensorType> for XfsMember
impl From<RecognitionSensorType> for XfsMember
Source§fn from(val: RecognitionSensorType) -> Self
fn from(val: RecognitionSensorType) -> Self
Converts to this type from the input type.
Source§impl From<RecognitionSensorType> for XfsValue
impl From<RecognitionSensorType> for XfsValue
Source§fn from(val: RecognitionSensorType) -> Self
fn from(val: RecognitionSensorType) -> Self
Converts to this type from the input type.
Source§impl From<RecognitionSensorType> for u8
impl From<RecognitionSensorType> for u8
Source§fn from(val: RecognitionSensorType) -> Self
fn from(val: RecognitionSensorType) -> Self
Converts to this type from the input type.
Source§impl From<u8> for RecognitionSensorType
impl From<u8> for RecognitionSensorType
Source§impl PartialEq for RecognitionSensorType
impl PartialEq for RecognitionSensorType
Source§impl Serialize for RecognitionSensorType
impl Serialize for RecognitionSensorType
Source§impl TryFrom<&XfsMember> for RecognitionSensorType
impl TryFrom<&XfsMember> for RecognitionSensorType
Source§impl TryFrom<&XfsValue> for RecognitionSensorType
impl TryFrom<&XfsValue> for RecognitionSensorType
Source§impl TryFrom<&str> for RecognitionSensorType
impl TryFrom<&str> for RecognitionSensorType
Source§impl TryFrom<XfsMember> for RecognitionSensorType
impl TryFrom<XfsMember> for RecognitionSensorType
impl Copy for RecognitionSensorType
impl StructuralPartialEq for RecognitionSensorType
Auto Trait Implementations§
impl Freeze for RecognitionSensorType
impl RefUnwindSafe for RecognitionSensorType
impl Send for RecognitionSensorType
impl Sync for RecognitionSensorType
impl Unpin for RecognitionSensorType
impl UnwindSafe for RecognitionSensorType
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