Skip to content

Sooooc/UML-Traits-Diagram-Rust-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UML Trait Diagram Example

Description

This repository is for educational purpose. It is a simple Rust program that implements geometric shapes in traits programming. The following image represents a trait diagram for this example.

My Image

Execution

To execute this program, we simply run:

Cargo run 

The Output

This program will simply print the following output:

rect has width 2, height3, and area6
square has length5 and area 25

About

This repository explains how to design a Trait diagram for trait program, developed in Rust programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages