#[repr(C)]pub struct WindowConfig {
pub w: u32,
pub h: u32,
pub x: u32,
pub y: u32,
pub z: u32,
}Fields§
§w: u32§h: u32§x: u32§y: u32§z: u32Trait Implementations§
Source§impl Clone for WindowConfig
impl Clone for WindowConfig
Source§fn clone(&self) -> WindowConfig
fn clone(&self) -> WindowConfig
Returns a copy 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 Debug for WindowConfig
impl Debug for WindowConfig
Source§impl From<WindowConfig> for Rect
impl From<WindowConfig> for Rect
Source§fn from(value: WindowConfig) -> Self
fn from(value: WindowConfig) -> Self
Converts to this type from the input type.
Source§impl Hash for WindowConfig
impl Hash for WindowConfig
Source§impl Ord for WindowConfig
impl Ord for WindowConfig
Source§fn cmp(&self, other: &WindowConfig) -> Ordering
fn cmp(&self, other: &WindowConfig) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowConfig
impl PartialEq for WindowConfig
Source§impl PartialOrd for WindowConfig
impl PartialOrd for WindowConfig
impl Copy for WindowConfig
impl Eq for WindowConfig
impl StructuralPartialEq for WindowConfig
Auto Trait Implementations§
impl Freeze for WindowConfig
impl ObjSafe for WindowConfig
impl RefUnwindSafe for WindowConfig
impl Send for WindowConfig
impl StoreCopy for WindowConfig
impl Sync for WindowConfig
impl Unpin for WindowConfig
impl UnwindSafe for WindowConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.