pub struct TraceMeta {
pub test: String,
pub crate_name: String,
pub iced_version: String,
pub windows: Vec<WindowMeta>,
pub theme: Option<String>,
pub scale_factor: ScaleFactor,
pub failure: Option<String>,
}Expand description
What a trace is of, filled in by the harness.
Fields§
§test: StringThe test’s name.
crate_name: StringThe crate the test belongs to.
iced_version: StringThe iced version the app was built with.
windows: Vec<WindowMeta>Each window’s size when the trace was written.
theme: Option<String>The theme’s name.
scale_factor: ScaleFactorThe scale factor frames were rendered at.
failure: Option<String>The test’s failure message, if it failed.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TraceMeta
impl<'de> Deserialize<'de> for TraceMeta
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
impl StructuralPartialEq for TraceMeta
Auto Trait Implementations§
impl Forget for TraceMeta
impl Freeze for TraceMeta
impl Move for TraceMeta
impl RefUnwindSafe for TraceMeta
impl Send for TraceMetawhere
RawVecInner: Send,
impl Sync for TraceMetawhere
RawVecInner: Sync,
impl Unpin for TraceMeta
impl UnsafeUnpin for TraceMetawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<WindowMeta>: UnsafeUnpin,
impl UnwindSafe for TraceMetawhere
RawVecInner: UnwindSafe,
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