Enum svd_rs::array::MaybeArray [−][src]
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
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
Mutably borrows from an owned value. Read more