add crate doc to examples
This commit is contained in:
		
							parent
							
								
									e135bd60a7
								
							
						
					
					
						commit
						daaa31a276
					
				
					 6 changed files with 12 additions and 0 deletions
				
			
		|  | @ -12,4 +12,6 @@ version = "0.5.0" | |||
| 
 | ||||
| [workspace.lints.rust] | ||||
| missing-docs = "warn" | ||||
| 
 | ||||
| [workspace.lints.clippy] | ||||
| missing-docs-in-crate-items = "warn" | ||||
|  |  | |||
|  | @ -1,3 +1,5 @@ | |||
| //! An example for how to send text to the display.
 | ||||
| 
 | ||||
| use clap::Parser; | ||||
| 
 | ||||
| use servicepoint::{ByteGrid, Command, Connection, Grid, Origin}; | ||||
|  |  | |||
|  | @ -1,3 +1,5 @@ | |||
| //! A simple game of life implementation to show how to render graphics to the display.
 | ||||
| 
 | ||||
| use std::thread; | ||||
| 
 | ||||
| use clap::Parser; | ||||
|  |  | |||
|  | @ -1,3 +1,5 @@ | |||
| //! A simple example for how to send pixel data to the display.
 | ||||
| 
 | ||||
| use std::thread; | ||||
| 
 | ||||
| use clap::Parser; | ||||
|  |  | |||
|  | @ -1,3 +1,6 @@ | |||
| //! A simple example for how to set brightnesses for tiles on the screen.
 | ||||
| //! Continuously changes the tiles in a random window to random brightnesses.
 | ||||
| 
 | ||||
| use std::time::Duration; | ||||
| 
 | ||||
| use clap::Parser; | ||||
|  |  | |||
|  | @ -1,3 +1,4 @@ | |||
| //! An example on how to modify the image on screen without knowing the current content.
 | ||||
| use std::thread; | ||||
| use std::time::Duration; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vinzenz Schroeter
						Vinzenz Schroeter