Pad out the discriminants of Kind variants
This commit is contained in:
		
							parent
							
								
									e6a9b7f8c4
								
							
						
					
					
						commit
						8724c3cdce
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -3,10 +3,10 @@
 | 
			
		|||
use chessfriend_core::Shape;
 | 
			
		||||
 | 
			
		||||
pub(crate) enum Kind {
 | 
			
		||||
    Quiet = 0b00,
 | 
			
		||||
    DoublePush = 0b01,
 | 
			
		||||
    KingSideCastle = 0b10,
 | 
			
		||||
    QueenSideCastle = 0b11,
 | 
			
		||||
    Quiet = 0b0000,
 | 
			
		||||
    DoublePush = 0b0001,
 | 
			
		||||
    KingSideCastle = 0b0010,
 | 
			
		||||
    QueenSideCastle = 0b0011,
 | 
			
		||||
    Capture = 0b0100,
 | 
			
		||||
    EnPassantCapture = 0b0101,
 | 
			
		||||
    Promotion = 0b1000,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue