[−][src]Module cala::user
API for getting user information. Enable with the user
feature.
Usage
// Set the home loop to `run()`. cala::init!(run, ()); // Function that runs while your app runs. pub fn run(_: &mut ()) -> cala::Loop<()> { // Print out the user's information. println!("{}", cala::user()); // Exit. cala::Exit }
Structs
User | User information. |
Functions
user | Get information about the current user. |