pub enum RegisterKind {
Standalone(StandaloneRegister),
Block(RegisterBlock),
Ref(RegisterRef),
}Variants§
Trait Implementations§
source§impl Clone for RegisterKind
impl Clone for RegisterKind
source§fn clone(&self) -> RegisterKind
fn clone(&self) -> RegisterKind
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 RegisterKind
impl Debug for RegisterKind
source§impl<'de> Deserialize<'de> for RegisterKind
impl<'de> Deserialize<'de> for RegisterKind
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<RegisterBlock> for RegisterKind
impl From<RegisterBlock> for RegisterKind
source§fn from(value: RegisterBlock) -> Self
fn from(value: RegisterBlock) -> Self
Converts to this type from the input type.
source§impl From<RegisterBlockRef> for RegisterKind
impl From<RegisterBlockRef> for RegisterKind
source§fn from(value: RegisterBlockRef) -> Self
fn from(value: RegisterBlockRef) -> Self
Converts to this type from the input type.
source§impl From<RegisterRef> for RegisterKind
impl From<RegisterRef> for RegisterKind
source§fn from(value: RegisterRef) -> Self
fn from(value: RegisterRef) -> Self
Converts to this type from the input type.
source§impl From<StandaloneRegister> for RegisterKind
impl From<StandaloneRegister> for RegisterKind
source§fn from(value: StandaloneRegister) -> Self
fn from(value: StandaloneRegister) -> Self
Converts to this type from the input type.
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 RegisterKind
impl PartialEq for RegisterKind
impl Eq for RegisterKind
impl StructuralPartialEq for RegisterKind
Auto Trait Implementations§
impl Freeze for RegisterKind
impl RefUnwindSafe for RegisterKind
impl !Send for RegisterKind
impl !Sync for RegisterKind
impl Unpin for RegisterKind
impl UnwindSafe for RegisterKind
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.