[−][src]Struct ul::UltralightApp
Methods
impl<'a> UltralightApp<'a>
[src]
pub fn new(
settings: Option<Settings>,
config: Option<Config>
) -> UltralightApp<'a>
[src]
settings: Option<Settings>,
config: Option<Config>
) -> UltralightApp<'a>
pub fn window(
&mut self,
height: u32,
width: u32,
fullscreen: bool,
borderless: bool,
titled: bool,
resizable: bool,
maximizable: bool
)
[src]
&mut self,
height: u32,
width: u32,
fullscreen: bool,
borderless: bool,
titled: bool,
resizable: bool,
maximizable: bool
)
pub fn get_renderer(&mut self) -> Renderer
[src]
pub fn run(&mut self)
[src]
Trait Implementations
impl<'a> UltralightAppOverlay for UltralightApp<'a>
[src]
fn overlay_get_view(&mut self) -> Result<View, NoneError>
[src]
fn overlay_get_height(&mut self) -> Result<u32, NoneError>
[src]
fn overlay_get_width(&mut self) -> Result<u32, NoneError>
[src]
fn overlay_get_x(&mut self) -> Result<i32, NoneError>
[src]
fn overlay_get_y(&mut self) -> Result<i32, NoneError>
[src]
fn overlay_focus(&mut self) -> Result<(), NoneError>
[src]
fn overlay_unfocus(&mut self) -> Result<(), NoneError>
[src]
fn overlay_has_focus(&mut self) -> Result<bool, NoneError>
[src]
fn overlay_hide(&mut self) -> Result<(), NoneError>
[src]
[src]
fn overlay_move_to(&self, x: i32, y: i32) -> Result<(), NoneError>
[src]
fn overlay_resize(&self, width: u32, height: u32) -> Result<(), NoneError>
[src]
impl<'a> UltralightAppWindow for UltralightApp<'a>
[src]
fn window_close(&self) -> Result<(), NoneError>
[src]
fn window_device_to_pixel(&self, val: i32) -> Result<i32, NoneError>
[src]
fn window_pixels_to_device(&self, val: i32) -> Result<i32, NoneError>
[src]
fn window_get_height(&self) -> Result<u32, NoneError>
[src]
fn window_get_width(&self) -> Result<u32, NoneError>
[src]
fn window_get_scale(&self) -> Result<f64, NoneError>
[src]
fn window_set_title(&mut self, title: &str) -> Result<(), NoneError>
[src]
fn window_set_cursor(&mut self, cursor: Cursor) -> Result<(), NoneError>
[src]
impl<'a> UltralightAppWindowCallbacks<'a> for UltralightApp<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for UltralightApp<'a>
impl<'a> !Send for UltralightApp<'a>
impl<'a> !Sync for UltralightApp<'a>
impl<'a> Unpin for UltralightApp<'a>
impl<'a> UnwindSafe for UltralightApp<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,