pub struct Application<B, M = MemoryOptionsMissing> { /* private fields */ }Implementations§
Source§impl<B> Application<B, MemoryOptionsMissing>
impl<B> Application<B, MemoryOptionsMissing>
pub fn with_backend(backend: B) -> Self
pub fn memory_options( self, options: MemoryOptions, ) -> Application<B, MemoryOptionsConfigured>
Source§impl<B, M> Application<B, M>
impl<B, M> Application<B, M>
pub fn window_options(self, options: WindowOptions) -> Self
pub fn provide<T>(self, value: T) -> Self
pub fn executor(self, executor: impl UiExecutor) -> Self
pub fn command<C>(self, handler: impl CommandHandler<C>) -> Selfwhere
C: Command,
pub fn on_render_error( self, handler: impl Fn(&RenderError) + Send + Sync + 'static, ) -> Self
pub fn font_families(self, families: &'static [&'static str]) -> Self
pub fn font_assets(self, assets: Vec<FontAsset>) -> Self
Source§impl<B> Application<B, MemoryOptionsConfigured>where
B: ApplicationBackend,
impl<B> Application<B, MemoryOptionsConfigured>where
B: ApplicationBackend,
Auto Trait Implementations§
impl<B, M = MemoryOptionsMissing> !RefUnwindSafe for Application<B, M>
impl<B, M = MemoryOptionsMissing> !UnwindSafe for Application<B, M>
impl<B, M> Freeze for Application<B, M>
impl<B, M> Send for Application<B, M>
impl<B, M> Sync for Application<B, M>
impl<B, M> Unpin for Application<B, M>
impl<B, M> UnsafeUnpin for Application<B, M>where
B: UnsafeUnpin,
M: UnsafeUnpin,
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