Enum svd_rs::array::MaybeArray  
source · [−]pub enum MaybeArray<T> {
    Single(T),
    Array(T, DimElement),
}Expand description
A single SVD instance or array of instances
Variants
Single(T)
A single instance
Array(T, DimElement)
An array of instances
Implementations
Trait Implementations
sourceimpl<T: Clone> Clone for MaybeArray<T>
 
impl<T: Clone> Clone for MaybeArray<T>
sourcefn clone(&self) -> MaybeArray<T>
 
fn clone(&self) -> MaybeArray<T>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl<T: Debug> Debug for MaybeArray<T>
 
impl<T: Debug> Debug for MaybeArray<T>
sourceimpl<T> Deref for MaybeArray<T>
 
impl<T> Deref for MaybeArray<T>
sourceimpl<T> DerefMut for MaybeArray<T>
 
impl<T> DerefMut for MaybeArray<T>
sourceimpl From<MaybeArray<ClusterInfo>> for RegisterCluster
 
impl From<MaybeArray<ClusterInfo>> for RegisterCluster
sourceimpl From<MaybeArray<RegisterInfo>> for RegisterCluster
 
impl From<MaybeArray<RegisterInfo>> for RegisterCluster
sourceimpl<T: PartialEq> PartialEq<MaybeArray<T>> for MaybeArray<T>
 
impl<T: PartialEq> PartialEq<MaybeArray<T>> for MaybeArray<T>
sourcefn eq(&self, other: &MaybeArray<T>) -> bool
 
fn eq(&self, other: &MaybeArray<T>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MaybeArray<T>) -> bool
 
fn ne(&self, other: &MaybeArray<T>) -> bool
This method tests for !=.
impl<T> StructuralPartialEq for MaybeArray<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for MaybeArray<T> where
    T: RefUnwindSafe, 
impl<T> Send for MaybeArray<T> where
    T: Send, 
impl<T> Sync for MaybeArray<T> where
    T: Sync, 
impl<T> Unpin for MaybeArray<T> where
    T: Unpin, 
impl<T> UnwindSafe for MaybeArray<T> where
    T: UnwindSafe, 
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more