Derive Serialize and Deserialize for UiRect (#9820)
# Objective Derive `Serialize` and `Deserialize` for `UiRect`
This commit is contained in:
		
							parent
							
								
									462d2ff238
								
							
						
					
					
						commit
						e1904bcba1
					
				@ -224,8 +224,8 @@ impl Val {
 | 
			
		||||
///     bottom: Val::Px(40.0),
 | 
			
		||||
/// };
 | 
			
		||||
/// ```
 | 
			
		||||
#[derive(Copy, Clone, PartialEq, Debug, Reflect)]
 | 
			
		||||
#[reflect(PartialEq)]
 | 
			
		||||
#[derive(Copy, Clone, PartialEq, Debug, Serialize, Deserialize, Reflect)]
 | 
			
		||||
#[reflect(PartialEq, Serialize, Deserialize)]
 | 
			
		||||
pub struct UiRect {
 | 
			
		||||
    /// The value corresponding to the left side of the UI rect.
 | 
			
		||||
    pub left: Val,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user