pub struct Manager { /* private fields */ }
Implementations§
Source§impl Manager
impl Manager
pub async fn loop<F>( &self, sleep: impl Fn(Duration) -> F + Send + 'static, ) -> Result<()>
pub async fn set_window_parent( &self, window_parent: *mut lv_obj_t, ) -> Result<()>
pub async fn create_window(&self) -> Result<Window>
pub async fn add_input_device( &self, input_device: Device, input_type: InputKind, ) -> Result<()>
pub async fn get_window_count(&self) -> Result<usize>
pub async fn get_window_icon(&self, index: usize) -> Result<(String, Color)>
pub async fn get_window_identifier(&self, index: usize) -> Result<usize>
pub async fn maximize_window(&self, identifier: usize) -> Result<()>
pub async fn lock_function<T>( &self, function: impl FnOnce() -> Result<T>, ) -> Result<T>
pub async fn lock(&self) -> MutexGuard<'_, CriticalSectionRawMutex, ()>
pub fn get_current_screen(&self) -> Result<*mut lv_obj_t>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Manager
impl !RefUnwindSafe for Manager
impl Unpin for Manager
impl UnwindSafe for Manager
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