Odak modu

Rust Fundamentals

Expressions:If Let

Rust's if let expression lets you match an expression to a specified pattern. If let is different from the if expression, which is executed when a condition is met. If let terminates a loop and returns a value.

You can find detailed further information from Rust Official documentation:

https://doc.rust-lang.org/rust-by-example/flow_control/if_let.html 

For a detailed explanation of If Let expressions, you can watch this video as an additional resource:

 https://www.youtube.com/watch?v=LslG4GTQXfY 

https://www.youtube.com/watch?v=sWTu4Lm49Kw 

Resources:

https://web.mit.edu/rust-lang_v1.25/arch/amd64_ubuntu1404/share/doc/rust/html/book/first-edition/if-let.html 

https://linuxhint.com/use-if-let-expression-rust/ 

left-disk

Yazılım Kariyerinde İlerlemeni Hızlandıracak Programlar

Patika+ programlarımız ile 4-8 aylık yoğun yazılım kamplarına katıl, temel bilgilerden başlayarak kapsamlı bilgiler edin, yazılım kariyerine başla!

right-cube

Yorumlar

Yorum yapabilmek için derse kayıt olmalısın!