Struct browser_window_c::cbw_WindowCallbacks [−][src]
Fields
do_cleanup: Option<unsafe extern "C" fn(arg1: *mut cbw_Window)>
Fired just before the window gets destroyed and freed from memory. Should be implemented to free the user data provided to the window.
on_close: Option<unsafe extern "C" fn(arg1: *const cbw_Window)>
Fired when the window has been closed, either by the user or programmatically.
on_loaded: Option<unsafe extern "C" fn(arg1: *const cbw_Window)>
Fired when a window has finished loading
on_resize: Option<unsafe extern "C" fn(arg1: *const cbw_Window, width: c_uint, height: c_uint)>
Fired when a window is resizing
Trait Implementations
impl Clone for cbw_WindowCallbacks
[src][+]
impl Copy for cbw_WindowCallbacks
[src]
impl Debug for cbw_WindowCallbacks
[src][+]
Auto Trait Implementations
impl RefUnwindSafe for cbw_WindowCallbacks
impl Send for cbw_WindowCallbacks
impl Sync for cbw_WindowCallbacks
impl Unpin for cbw_WindowCallbacks
impl UnwindSafe for cbw_WindowCallbacks
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,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,