Struct tract_core::ops::scan::OutputMapping[][src]

pub struct OutputMapping<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: Clone> OutputMapping<F>[src]

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

Constructs a new OutputMapping.

impl<F: Clone> OutputMapping<F>[src]

pub fn invisible(&self) -> bool[src]

impl<F: Clone + DimLike> OutputMapping<F>[src]

pub fn concretize_dims(
    &self,
    values: &SymbolValues
) -> TractResult<OutputMapping<F>>
[src]

Trait Implementations

impl<F: Clone> Clone for OutputMapping<F>[src]

impl<F: Clone + Display> Debug for OutputMapping<F>[src]

impl<F: Hash + Clone> Hash for OutputMapping<F>[src]

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.