pub enum CompositeInnerType {
Func(FuncType),
Array(ArrayType),
Struct(StructType),
Cont(ContType),
}
Expand description
A CompositeType
can contain one of these types.
Variants§
Func(FuncType)
The type is for a function.
Array(ArrayType)
The type is for an array.
Struct(StructType)
The type is for a struct.
Cont(ContType)
The type is for a continuation.
Trait Implementations§
Source§impl Clone for CompositeInnerType
impl Clone for CompositeInnerType
Source§fn clone(&self) -> CompositeInnerType
fn clone(&self) -> CompositeInnerType
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CompositeInnerType
impl RefUnwindSafe for CompositeInnerType
impl Send for CompositeInnerType
impl Sync for CompositeInnerType
impl Unpin for CompositeInnerType
impl UnwindSafe for CompositeInnerType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more