pub trait Platform {
// Required methods
fn dimensions(&self) -> i32;
fn is_rtl(&self) -> bool;
fn clipping_rect(&mut self) -> (f32, f32);
}
Expand description
Impl Platform trait to support new platform environment.
pub trait Platform {
// Required methods
fn dimensions(&self) -> i32;
fn is_rtl(&self) -> bool;
fn clipping_rect(&mut self) -> (f32, f32);
}
Impl Platform trait to support new platform environment.