Skip to main content

block_name

Function block_name 

Source
pub(crate) fn block_name(kind: &str, key: &str, name: &str) -> String
Expand description

A block’s name: its own, else its usual one by its key (“meal:1”: lunch); one added for a day without a name of its own: “Meal”, “Rest”.