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

pub struct Parameters { /* fields omitted */ }

The roots of a region

Methods

impl Parameters[src]

pub fn add_param(
    &mut self,
    desc: ParameterDesc
) -> Result<usize, RegionAlreadyFused>
[src]

Add a new parameter to the region. Get the associated index

pub fn add_with_ty(&mut self, ty: ValId) -> Result<usize, RegionAlreadyFused>[src]

Add a new parameter with a given type

pub fn arr(&self) -> &[ValId][src]

Get the parameter array

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

Get the this pointer of this region

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

Check whether this region is fused

pub fn fuse(&mut self)[src]

Fuse this region.

Trait Implementations

impl Debug for Parameters[src]

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

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