Trait tauri_runtime::window::dpi::Pixel
source · pub trait Pixel: Copy + Into<f64> {
// Required method
fn from_f64(f: f64) -> Self;
// Provided method
fn cast<P: Pixel>(self) -> P { ... }
}
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.