pub struct SketchDeltaSize {
pub absolute: SizeValue<i64>,
pub relative: Option<SizeValue<f32>>,
}
Expand description
A data structure to describe fields in SketchSize
.
Fields§
§absolute: SizeValue<i64>
The absolute compilation size value.
“Absolute” as in “not relative”, meaning this 64-bit integer can be negative.
relative: Option<SizeValue<f32>>
The relative compilation size.
Often relative to a previous compilation size.
This can be None
if no previous compilation was preformed.
Trait Implementations§
Source§impl Debug for SketchDeltaSize
impl Debug for SketchDeltaSize
Source§impl Default for SketchDeltaSize
impl Default for SketchDeltaSize
Source§fn default() -> SketchDeltaSize
fn default() -> SketchDeltaSize
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SketchDeltaSize
impl<'de> Deserialize<'de> for SketchDeltaSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SketchDeltaSize
impl RefUnwindSafe for SketchDeltaSize
impl Send for SketchDeltaSize
impl Sync for SketchDeltaSize
impl Unpin for SketchDeltaSize
impl UnwindSafe for SketchDeltaSize
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more