pub struct Application { /* private fields */ }
Expand description
Application launcher.
Implementations§
Source§impl Application
impl Application
pub fn new(title: &str) -> Self
pub fn fonts( self, fonts: impl IntoIterator<Item = (impl Into<FontId>, impl AsRef<[u8]>, FontFormat)>, ) -> Result<Self, Error>
pub fn fps(self, target: f64) -> Self
pub fn cursor( self, name: &'static str, image: Image, origin: impl Into<Point2D<u32>>, ) -> Self
pub fn image(self, name: &'static str, image: Image) -> Self
Auto Trait Implementations§
impl Freeze for Application
impl RefUnwindSafe for Application
impl !Send for Application
impl !Sync for Application
impl Unpin for Application
impl UnwindSafe for Application
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