#[repr(C)]pub struct tm_os_display_api {
pub num_displays: Option<unsafe extern "C" fn() -> u32>,
pub display: Option<unsafe extern "C" fn(index: u32) -> *mut tm_display_o>,
pub os_display_rect: Option<unsafe extern "C" fn(display: *const tm_display_o) -> tm_rect_t>,
pub os_display_dpi_scale_factor: Option<unsafe extern "C" fn(display: *const tm_display_o) -> f32>,
pub refresh_display_enumeration: Option<unsafe extern "C" fn()>,
}Fields§
§num_displays: Option<unsafe extern "C" fn() -> u32>§display: Option<unsafe extern "C" fn(index: u32) -> *mut tm_display_o>§os_display_rect: Option<unsafe extern "C" fn(display: *const tm_display_o) -> tm_rect_t>§os_display_dpi_scale_factor: Option<unsafe extern "C" fn(display: *const tm_display_o) -> f32>§refresh_display_enumeration: Option<unsafe extern "C" fn()>Trait Implementations§
Source§impl Clone for tm_os_display_api
impl Clone for tm_os_display_api
Source§fn clone(&self) -> tm_os_display_api
fn clone(&self) -> tm_os_display_api
Returns a duplicate 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 moreimpl Copy for tm_os_display_api
Auto Trait Implementations§
impl Freeze for tm_os_display_api
impl RefUnwindSafe for tm_os_display_api
impl Send for tm_os_display_api
impl Sync for tm_os_display_api
impl Unpin for tm_os_display_api
impl UnwindSafe for tm_os_display_api
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