pub struct GfxWindowPrefs {
pub width: Option<u32>,
pub height: Option<u32>,
pub x: Option<u32>,
pub y: Option<u32>,
}Fields§
§width: Option<u32>Last window width in logical pixels.
height: Option<u32>Last window height in logical pixels.
x: Option<u32>Window X (platform coordinates; macOS AppKit bottom-left origin).
y: Option<u32>Window Y.
Implementations§
Trait Implementations§
Source§impl Clone for GfxWindowPrefs
impl Clone for GfxWindowPrefs
Source§fn clone(&self) -> GfxWindowPrefs
fn clone(&self) -> GfxWindowPrefs
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 Debug for GfxWindowPrefs
impl Debug for GfxWindowPrefs
Source§impl Default for GfxWindowPrefs
impl Default for GfxWindowPrefs
Source§fn default() -> GfxWindowPrefs
fn default() -> GfxWindowPrefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GfxWindowPrefs
impl<'de> Deserialize<'de> for GfxWindowPrefs
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GfxWindowPrefs
impl RefUnwindSafe for GfxWindowPrefs
impl Send for GfxWindowPrefs
impl Sync for GfxWindowPrefs
impl Unpin for GfxWindowPrefs
impl UnsafeUnpin for GfxWindowPrefs
impl UnwindSafe for GfxWindowPrefs
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