pub struct WindowImpl { /* private fields */ }Implementations§
Source§impl WindowImpl
impl WindowImpl
pub fn new( app: ApplicationImpl, parent: Self, title: &str, width: Option<u32>, height: Option<u32>, options: &cbw_WindowOptions, ) -> Self
Trait Implementations§
Source§impl Clone for WindowImpl
impl Clone for WindowImpl
Source§fn clone(&self) -> WindowImpl
fn clone(&self) -> WindowImpl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for WindowImpl
impl Default for WindowImpl
Source§impl WindowExt for WindowImpl
impl WindowExt for WindowImpl
fn app(&self) -> ApplicationImpl
fn close(&self)
fn free(&self)
fn content_dimensions(&self) -> Dims2D
fn opacity(&self) -> u8
fn position(&self) -> Pos2D
fn title(&self) -> String
fn window_dimensions(&self) -> Dims2D
fn hide(&self)
fn set_content_dimensions(&self, dimensions: Dims2D)
fn set_opacity(&self, opacity: u8)
fn set_position(&self, position: Pos2D)
fn set_title(&self, title: &str)
fn set_user_data(&self, user_data: *mut ())
fn set_window_dimensions(&self, dimensions: Dims2D)
fn show(&self)
Auto Trait Implementations§
impl !Send for WindowImpl
impl !Sync for WindowImpl
impl Freeze for WindowImpl
impl RefUnwindSafe for WindowImpl
impl Unpin for WindowImpl
impl UnsafeUnpin for WindowImpl
impl UnwindSafe for WindowImpl
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