syntax::ast::make

Function item_static

source
pub fn item_static(
    visibility: Option<Visibility>,
    is_unsafe: bool,
    is_mut: bool,
    name: Name,
    ty: Type,
    expr: Option<Expr>,
) -> Static