Skip to main content

insert_cast

Function insert_cast 

Source
pub fn insert_cast(expr: Expr, ty: Type) -> Expr
Expand description

as T キャストを挿入

括弧は parenthesize() パスで自動挿入されるため、ここでは不要。