LogoSudip
  • Tags
  • Series
  • Categories
  • Archives
  1. Home
  2. Tags
  3. default-argument

Default argument in Rust

Jul 14, 2021 3 min read #technical#learning-rust#rust#programming#default-argument#rust-macro

Default argument allows us to call function omitting some paramater. When a argument is omitted provided default paramater is used. While rust does not support default argument we can make use of macro to achive similar functionality.

Sudip Ghimire
Sudip Ghimire
Rising developer
Self-learning
Pokhara, Nepal
About Me

Recent Posts

  • Success - bringing luck & hardwork together
  • Offchain worker and transactions in polkadot substrate
  • Rust Workshop - iBriz academy 2022
  • include! macro in rust
  • Fundamental Idea locality of reference in compiler optimization

Categories

technical 9 draft 1 lifestyle 1

Series

learning-rust 6 learning-cpp 2 algorithm 1 compiler-optimization 1

Tags

programming 6 rust 5 rust-macro 3 blockchain 2 compiler-optimization 1 cpp 1 cpp-idiom 1 cpp-idom 1 default-argument 1 function-overloading 1 lifestyle 1 locality 1 numerical 1 philosophy 1 polkadot 1 principle-of-locality 1 smart-pointers 1 std-rc 1 substrate 1 success 1 sudip 1 workshop 1
  • Copyright © 2021-2022 Sudip ghimire. All Rights Reserved.