Struct tract_pulse::internal::tract_core::ops::scan::OutputMapping[]

pub struct OutputMapping<F> where
    F: Clone
{ pub full_slot: Option<usize>, pub axis: usize, pub chunk: isize, pub full_dim_hint: Option<F>, pub last_value_slot: Option<usize>, pub state: bool, }

Fields

full_slot: Option<usize>axis: usizechunk: isizefull_dim_hint: Option<F>last_value_slot: Option<usize>state: bool

Implementations

impl<F> OutputMapping<F> where
    F: Clone

pub fn invisible(&self) -> bool

impl<F> OutputMapping<F> where
    F: Clone + DimLike

pub fn concretize_dims(
    &self,
    values: &SymbolValues
) -> Result<OutputMapping<F>, Error>

impl<F> OutputMapping<F> where
    F: Clone

pub fn new(
    full_slot: Option<usize>,
    axis: usize,
    chunk: isize,
    full_dim_hint: Option<F>,
    last_value_slot: Option<usize>,
    state: bool
) -> OutputMapping<F>

Constructs a new OutputMapping.

Trait Implementations

impl<F> Clone for OutputMapping<F> where
    F: Clone

impl<F> Debug for OutputMapping<F> where
    F: Clone + Display

impl<F> Hash for OutputMapping<F> where
    F: Hash + Clone

Auto Trait Implementations

impl<F> RefUnwindSafe for OutputMapping<F> where
    F: RefUnwindSafe

impl<F> Send for OutputMapping<F> where
    F: Send

impl<F> Sync for OutputMapping<F> where
    F: Sync

impl<F> Unpin for OutputMapping<F> where
    F: Unpin

impl<F> UnwindSafe for OutputMapping<F> where
    F: UnwindSafe

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> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[src]

impl<T> DynClone for T where
    T: Clone
[src]

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.