Clean up cfg rusttype
This commit is contained in:
		
							parent
							
								
									67be2fa297
								
							
						
					
					
						commit
						09fb7d1d69
					
				
					 1 changed files with 0 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -22,16 +22,6 @@ static FONT_BOLD_ITALIC: &'static [u8] = include_bytes!("../../../res/fonts/Deja
 | 
			
		|||
static FONT_ITALIC: &'static [u8] = include_bytes!("../../../res/fonts/DejaVuSansMono-Oblique.ttf");
 | 
			
		||||
 | 
			
		||||
/// A display
 | 
			
		||||
#[cfg(not(feature="rusttype"))]
 | 
			
		||||
pub struct Display {
 | 
			
		||||
    pub width: usize,
 | 
			
		||||
    pub height: usize,
 | 
			
		||||
    pub onscreen: &'static mut [u32],
 | 
			
		||||
    pub offscreen: &'static mut [u32]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/// A display
 | 
			
		||||
#[cfg(feature="rusttype")]
 | 
			
		||||
pub struct Display {
 | 
			
		||||
    pub width: usize,
 | 
			
		||||
    pub height: usize,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue