Struct jlrs::value::union_all::UnionAll[][src]

#[repr(transparent)]pub struct UnionAll<'frame>(_, _);

An iterated union of types. If a struct field has a parametric type with some of its parameters unknown, its type is represented by a UnionAll.

Implementations

impl<'frame> UnionAll<'frame>[src]

pub fn base_type(self) -> DataType<'frame>[src]

The type at the bottom of this UnionAll.

pub fn body(self) -> Value<'frame, 'static>[src]

The body of this UnionAll. This is either another UnionAll or a DataType.

pub fn var(self) -> TypeVar<'frame>[src]

The type variable associated with this “layer” of the UnionAll.

pub fn as_value(self) -> Value<'frame, 'static>[src]

Convert self to a Value.

impl<'base> UnionAll<'base>[src]

pub fn type_type(_: Global<'base>) -> Self[src]

The UnionAll Type.

pub fn anytuple_type_type(_: Global<'base>) -> Self[src]

Type{T} where T<:Tuple

pub fn vararg_type(_: Global<'base>) -> Self[src]

The UnionAll Vararg.

pub fn abstractarray_type(_: Global<'base>) -> Self[src]

The UnionAll AbstractArray.

pub fn densearray_type(_: Global<'base>) -> Self[src]

The UnionAll DenseArray.

pub fn array_type(_: Global<'base>) -> Self[src]

The UnionAll Array.

pub fn pointer_type(_: Global<'base>) -> Self[src]

The UnionAll Ptr.

pub fn llvmpointer_type(_: Global<'base>) -> Self[src]

The UnionAll LLVMPtr.

pub fn ref_type(_: Global<'base>) -> Self[src]

The UnionAll Ref.

pub fn namedtuple_type(_: Global<'base>) -> Self[src]

The UnionAll NamedTuple.

Trait Implementations

impl<'frame, 'data> Cast<'frame, 'data> for UnionAll<'frame>[src]

type Output = Self

impl<'frame> Clone for UnionAll<'frame>[src]

impl<'frame> Copy for UnionAll<'frame>[src]

impl<'scope> Debug for UnionAll<'scope>[src]

impl<'frame> Eq for UnionAll<'frame>[src]

impl<'frame> Hash for UnionAll<'frame>[src]

impl<'frame> Into<Value<'frame, 'static>> for UnionAll<'frame>[src]

impl<'frame> JuliaType for UnionAll<'frame>[src]

impl<'frame> JuliaTypecheck for UnionAll<'frame>[src]

impl<'frame> PartialEq<UnionAll<'frame>> for UnionAll<'frame>[src]

impl<'frame> StructuralEq for UnionAll<'frame>[src]

impl<'frame> StructuralPartialEq for UnionAll<'frame>[src]

impl<'frame> ValidLayout for UnionAll<'frame>[src]

Auto Trait Implementations

impl<'frame> RefUnwindSafe for UnionAll<'frame>

impl<'frame> !Send for UnionAll<'frame>

impl<'frame> !Sync for UnionAll<'frame>

impl<'frame> Unpin for UnionAll<'frame>

impl<'frame> UnwindSafe for UnionAll<'frame>

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