pub struct BenchWindowId(/* private fields */);Expand description
Stable logical window identifier used by benchmark correlation.
§Examples
use ailloli_ui_bench::BenchWindowId;
assert_eq!(BenchWindowId::new("main").as_str(), "main");Implementations§
Trait Implementations§
Source§impl Clone for BenchWindowId
impl Clone for BenchWindowId
Source§fn clone(&self) -> BenchWindowId
fn clone(&self) -> BenchWindowId
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BenchWindowId
impl Debug for BenchWindowId
Source§impl<'de> Deserialize<'de> for BenchWindowId
impl<'de> Deserialize<'de> for BenchWindowId
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
Source§impl Hash for BenchWindowId
impl Hash for BenchWindowId
Source§impl PartialEq for BenchWindowId
impl PartialEq for BenchWindowId
Source§impl Serialize for BenchWindowId
impl Serialize for BenchWindowId
impl Eq for BenchWindowId
impl StructuralPartialEq for BenchWindowId
Auto Trait Implementations§
impl Freeze for BenchWindowId
impl RefUnwindSafe for BenchWindowId
impl Send for BenchWindowId
impl Sync for BenchWindowId
impl Unpin for BenchWindowId
impl UnwindSafe for BenchWindowId
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