[][src]Struct tract_hir::infer::rules::ElementProxy

pub struct ElementProxy { /* fields omitted */ }

A proxy for a tensor element.

Implementations

impl ElementProxy[src]

pub fn new(path: Path) -> ElementProxy[src]

Creates a new ElementProxy instance.

Trait Implementations

impl ComparableProxy for ElementProxy[src]

impl<'a> ComparableProxy for &'a ElementProxy[src]

impl Debug for ElementProxy[src]

impl Index<usize> for ElementProxy[src]

type Output = ElementProxy

The returned type after indexing.

fn index(&self, index: usize) -> &ElementProxy[src]

Returns the ElementProxy corresponding to the given index.

impl<'a> IntoExp<GenericFactoid<i32>> for &'a ElementProxy[src]

impl Proxy for ElementProxy[src]

fn get_path(&self) -> &Path[src]

Returns the symbolic path to the value.

impl<'a> Proxy for &'a ElementProxy[src]

fn get_path(&self) -> &Path[src]

Returns the symbolic path to the value.

Auto Trait Implementations

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> 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.