pub struct StandaloneRegisterRef {
pub copy_of: String,
pub address: u64,
pub rw_type: Option<RWType>,
}Fields§
§copy_of: String§address: u64§rw_type: Option<RWType>Implementations§
source§impl StandaloneRegisterRef
impl StandaloneRegisterRef
pub fn apply( &self, register: &Register, ) -> Result<StandaloneRegister, RegisterKindError>
Trait Implementations§
source§impl Clone for StandaloneRegisterRef
impl Clone for StandaloneRegisterRef
source§fn clone(&self) -> StandaloneRegisterRef
fn clone(&self) -> StandaloneRegisterRef
Returns a copy 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 StandaloneRegisterRef
impl Debug for StandaloneRegisterRef
source§impl<'de> Deserialize<'de> for StandaloneRegisterRef
impl<'de> Deserialize<'de> for StandaloneRegisterRef
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 From<StandaloneRegisterRef> for RegisterKind
impl From<StandaloneRegisterRef> for RegisterKind
source§fn from(value: StandaloneRegisterRef) -> Self
fn from(value: StandaloneRegisterRef) -> Self
Converts to this type from the input type.
source§impl PartialEq for StandaloneRegisterRef
impl PartialEq for StandaloneRegisterRef
impl Eq for StandaloneRegisterRef
impl StructuralPartialEq for StandaloneRegisterRef
Auto Trait Implementations§
impl Freeze for StandaloneRegisterRef
impl RefUnwindSafe for StandaloneRegisterRef
impl Send for StandaloneRegisterRef
impl Sync for StandaloneRegisterRef
impl Unpin for StandaloneRegisterRef
impl UnwindSafe for StandaloneRegisterRef
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.