pub struct KvLogicalAddress {
pub base_address: KvDeviceAddress,
pub data_type: String,
pub bit_index: Option<u8>,
}Fields§
§base_address: KvDeviceAddress§data_type: String§bit_index: Option<u8>Implementations§
Source§impl KvLogicalAddress
impl KvLogicalAddress
pub fn is_bit_in_word(&self) -> bool
pub fn to_text(&self) -> Result<String, HostLinkError>
Trait Implementations§
Source§impl Clone for KvLogicalAddress
impl Clone for KvLogicalAddress
Source§fn clone(&self) -> KvLogicalAddress
fn clone(&self) -> KvLogicalAddress
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 moreSource§impl Debug for KvLogicalAddress
impl Debug for KvLogicalAddress
Source§impl PartialEq for KvLogicalAddress
impl PartialEq for KvLogicalAddress
Source§fn eq(&self, other: &KvLogicalAddress) -> bool
fn eq(&self, other: &KvLogicalAddress) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KvLogicalAddress
impl StructuralPartialEq for KvLogicalAddress
Auto Trait Implementations§
impl Freeze for KvLogicalAddress
impl RefUnwindSafe for KvLogicalAddress
impl Send for KvLogicalAddress
impl Sync for KvLogicalAddress
impl Unpin for KvLogicalAddress
impl UnsafeUnpin for KvLogicalAddress
impl UnwindSafe for KvLogicalAddress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.