[][src]Enum verilogae_util::Vectorized

pub enum Vectorized<'lt, T: Copy + Clone> {
    Slice(&'lt [T]),
    Scalar(T),
}

Variants

Slice(&'lt [T])
Scalar(T)

Implementations

impl<'lt, T: Copy + Clone> Vectorized<'lt, T>[src]

pub unsafe fn get_unchecked(&self, index: usize) -> T[src]

impl<'lt, T: Copy + Clone + Element + FromPyObject<'lt> + 'lt> Vectorized<'lt, T>[src]

pub fn from_python(
    from: &'lt PyAny,
    name: &str,
    iterations: &mut usize
) -> PyResult<Self>
[src]

pub fn from_dict(
    dict: Option<&'lt PyDict>,
    name: &str,
    loc: &str,
    iterations: &mut usize
) -> PyResult<Self>
[src]

impl<'lt> Vectorized<'lt, f64>[src]

pub fn from_dict_opt(
    dict: Option<&'lt PyDict>,
    name: &str,
    iterations: &mut usize
) -> PyResult<Self>
[src]

Auto Trait Implementations

impl<'lt, T> RefUnwindSafe for Vectorized<'lt, T> where
    T: RefUnwindSafe
[src]

impl<'lt, T> Send for Vectorized<'lt, T> where
    T: Send + Sync
[src]

impl<'lt, T> Sync for Vectorized<'lt, T> where
    T: Sync
[src]

impl<'lt, T> Unpin for Vectorized<'lt, T> where
    T: Unpin
[src]

impl<'lt, T> UnwindSafe for Vectorized<'lt, T> where
    T: RefUnwindSafe + UnwindSafe
[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.