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

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

Fields

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

Implementations

impl<C, F> OutputMapping<C, F> where
    C: Clone,
    F: Clone
[src]

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

impl<C, F> OutputMapping<C, F> where
    C: Clone,
    F: Clone
[src]

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

Constructs a new OutputMapping.

Trait Implementations

impl<C, F> Clone for OutputMapping<C, F> where
    C: Clone,
    F: Clone
[src]

impl<C, F> Debug for OutputMapping<C, F> where
    C: Clone,
    F: Clone
[src]

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

Auto Trait Implementations

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

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

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

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

impl<C, F> UnwindSafe for OutputMapping<C, F> where
    C: UnwindSafe,
    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

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

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.