pub struct WindowCreateInfo<'a> {
pub x: i32,
pub y: i32,
pub width: u32,
pub height: u32,
pub title: &'a str,
pub mode: WindowMode,
pub resizable: bool,
}Fields§
§x: i32§y: i32§width: u32§height: u32§title: &'a str§mode: WindowMode§resizable: boolTrait Implementations§
Source§impl<'a> Clone for WindowCreateInfo<'a>
impl<'a> Clone for WindowCreateInfo<'a>
Source§fn clone(&self) -> WindowCreateInfo<'a>
fn clone(&self) -> WindowCreateInfo<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for WindowCreateInfo<'a>
impl<'a> Debug for WindowCreateInfo<'a>
Source§impl Default for WindowCreateInfo<'_>
impl Default for WindowCreateInfo<'_>
impl<'a> Copy for WindowCreateInfo<'a>
Auto Trait Implementations§
impl<'a> Freeze for WindowCreateInfo<'a>
impl<'a> RefUnwindSafe for WindowCreateInfo<'a>
impl<'a> Send for WindowCreateInfo<'a>
impl<'a> Sync for WindowCreateInfo<'a>
impl<'a> Unpin for WindowCreateInfo<'a>
impl<'a> UnwindSafe for WindowCreateInfo<'a>
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