pub struct CxPlatform {
pub set_window_position: Option<Vec2>,
pub set_window_outer_size: Option<Vec2>,
pub set_ime_position: Option<Vec2>,
pub start_timer: Vec<(u64, f64, bool)>,
pub stop_timer: Vec<u64>,
pub text_clipboard_response: Option<String>,
pub desktop: CxDesktop,
}
Fields§
§set_window_position: Option<Vec2>
§set_window_outer_size: Option<Vec2>
§set_ime_position: Option<Vec2>
§start_timer: Vec<(u64, f64, bool)>
§stop_timer: Vec<u64>
§text_clipboard_response: Option<String>
§desktop: CxDesktop
Trait Implementations§
Source§impl Clone for CxPlatform
impl Clone for CxPlatform
Source§fn clone(&self) -> CxPlatform
fn clone(&self) -> CxPlatform
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 moreSource§impl Default for CxPlatform
impl Default for CxPlatform
Source§fn default() -> CxPlatform
fn default() -> CxPlatform
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CxPlatform
impl RefUnwindSafe for CxPlatform
impl Send for CxPlatform
impl Sync for CxPlatform
impl Unpin for CxPlatform
impl UnwindSafe for CxPlatform
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