if let = value {} If you care about matching one pattern, and continue
let = value else {}; Same but when you return/panic otherwise
match value { patterns } When you have branches that depend on pattern (edited)
if let = value {} If you care about matching one pattern, and continue
let = value else {}; Same but when you return/panic otherwise
match value { patterns } When you have branches that depend on pattern (edited)