[][src]Struct rain_lang::graph::region::Parameter

pub struct Parameter {
    pub ty: ValId,
    // some fields omitted
}

A parameter for a region

Fields

ty: ValId

The type of this parameter

Methods

impl Parameter[src]

pub fn ix(&self) -> usize[src]

Get the parameter index of this parameter

pub fn region(&self) -> &WeakRegion[src]

Get the region of this parameter

Trait Implementations

impl Clone for Parameter[src]

impl Debug for Parameter[src]

impl Eq for Parameter[src]

impl From<Parameter> for ValueEnum[src]

impl From<Parameter> for ValueData[src]

impl From<Parameter> for ValId[src]

impl Hash for Parameter[src]

impl JEq<Node<ValueData>> for Parameter[src]

impl JEq<Parameter> for Parameter[src]

impl JEq<Parameter> for ValueEnum[src]

impl JEq<Parameter> for ValId[src]

impl JEq<Parameter> for Sexpr[src]

impl JEq<Sexpr> for Parameter[src]

impl JEq<ValueEnum> for Parameter[src]

impl PartialEq<Parameter> for Parameter[src]

impl Value for Parameter[src]

impl ValueDesc for Parameter[src]

type Err = Infallible

The error type for trying to convert this type into a ValId

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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,