easy_syntax 0.1.0

Easy syntax
Documentation
  • Coverage
  • 0%
    0 out of 9 items documented0 out of 4 items with examples
  • Size
  • Source code size: 5.45 MB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 299.39 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • aprokurov

Easy Syntax

Easy syntax it's a library for rust to use some input and sound things more easily!

Function input() create empty string and you can use your kerboard input

extern crate easy_syntax;
use easy_syntax::input::input;
fn main() {
   let name = input();
   println!("{}", name);
}

Function raw_input() create empty string and then format it to u32

extern crate easy_syntax;
use easy_syntax::input::raw_input;
fn main() {
   let num1 = raw_input();
   let num2: u32 = 10;
   let out = num1 * num2;
   println!("{} * {} = {}", num1, num2, out);
}

Function music_play() plays music, see examples, function play() do same thing as music_play.