pub struct HeadlessWindowRecord { /* private fields */ }Expand description
Simulated window record held by HeadlessPlatform.
Implementations§
Source§impl HeadlessWindowRecord
impl HeadlessWindowRecord
pub fn get_config(&self) -> &WindowConfig
pub fn get_mut_config(&mut self) -> &mut WindowConfig
pub fn set_config(&mut self, val: WindowConfig) -> &mut Self
pub fn get_state(&self) -> WindowState
pub fn get_mut_state(&mut self) -> &mut WindowState
pub fn set_state(&mut self, val: WindowState) -> &mut Self
pub fn get_cursor(&self) -> CursorIcon
pub fn get_mut_cursor(&mut self) -> &mut CursorIcon
pub fn set_cursor(&mut self, val: CursorIcon) -> &mut Self
pub fn get_last_frame(&self) -> &Framebuffer
pub fn get_mut_last_frame(&mut self) -> &mut Framebuffer
pub fn set_last_frame(&mut self, val: Framebuffer) -> &mut Self
pub fn get_present_count(&self) -> u64
pub fn get_mut_present_count(&mut self) -> &mut u64
pub fn set_present_count(&mut self, val: u64) -> &mut Self
pub fn get_ime_active(&self) -> bool
pub fn get_mut_ime_active(&mut self) -> &mut bool
pub fn set_ime_active(&mut self, val: bool) -> &mut Self
pub fn get_ime_rect(&self) -> Rect
pub fn get_mut_ime_rect(&mut self) -> &mut Rect
pub fn set_ime_rect(&mut self, val: Rect) -> &mut Self
Trait Implementations§
Source§impl Clone for HeadlessWindowRecord
impl Clone for HeadlessWindowRecord
Auto Trait Implementations§
impl Forget for HeadlessWindowRecord
impl Freeze for HeadlessWindowRecord
impl Move for HeadlessWindowRecord
impl RefUnwindSafe for HeadlessWindowRecord
impl Send for HeadlessWindowRecordwhere
RawVecInner: Send,
impl Sync for HeadlessWindowRecordwhere
RawVecInner: Sync,
impl Unpin for HeadlessWindowRecord
impl UnsafeUnpin for HeadlessWindowRecord
impl UnwindSafe for HeadlessWindowRecordwhere
RawVecInner: UnwindSafe,
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