mirror of
				https://github.com/ratatui/ratatui.git
				synced 2025-11-04 07:25:11 +00:00 
			
		
		
		
	Add PartialEq to Text
This commit is contained in:
		
							parent
							
								
									fe0ddf6c83
								
							
						
					
					
						commit
						2a7eec816a
					
				@ -47,7 +47,7 @@ bitflags! {
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
#[derive(Clone, Debug)]
 | 
			
		||||
#[derive(Clone, Debug, PartialEq)]
 | 
			
		||||
pub enum Text<'b> {
 | 
			
		||||
    Raw(Cow<'b, str>),
 | 
			
		||||
    Styled(Cow<'b, str>, Style),
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user