pub enum TyExprKind {
Array {
elem_ty_expr: Box<TyExpr>,
len: u32,
},
Struct(StructPtr),
Enum(LiveType),
DrawShader(DrawShaderPtr),
Lit {
ty_lit: TyLit,
},
ClosureDecl {
return_ty: RefCell<Option<Ty>>,
return_ty_expr: Box<Option<TyExpr>>,
params: Vec<Param>,
},
}
Variants§
Trait Implementations§
source§impl Clone for TyExprKind
impl Clone for TyExprKind
source§fn clone(&self) -> TyExprKind
fn clone(&self) -> TyExprKind
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 !RefUnwindSafe for TyExprKind
impl !Send for TyExprKind
impl !Sync for TyExprKind
impl Unpin for TyExprKind
impl UnwindSafe for TyExprKind
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