[−][src]Struct browser_window_c::cbw_WindowCallbacks
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]
pub fn clone(&self) -> cbw_WindowCallbacks
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for cbw_WindowCallbacks
[src]
impl Debug for cbw_WindowCallbacks
[src]
Auto Trait Implementations
impl RefUnwindSafe for cbw_WindowCallbacks
[src]
impl Send for cbw_WindowCallbacks
[src]
impl Sync for cbw_WindowCallbacks
[src]
impl Unpin for cbw_WindowCallbacks
[src]
impl UnwindSafe for cbw_WindowCallbacks
[src]
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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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.
pub 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>,