pub struct Rect {
pub x: u32,
pub y: u32,
pub w: u32,
pub h: u32,
}Fields§
§x: u32§y: u32§w: u32§h: u32Implementations§
Trait Implementations§
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 Ord for Rect
impl Ord for Rect
Source§impl PartialOrd for Rect
impl PartialOrd for Rect
impl Copy for Rect
impl Eq for Rect
impl Invariant for Rect
impl StructuralPartialEq for Rect
Auto Trait Implementations§
impl Freeze for Rect
impl ObjSafe for Rect
impl RefUnwindSafe for Rect
impl Send for Rect
impl StoreCopy for Rect
impl Sync for Rect
impl Unpin for Rect
impl UnwindSafe for Rect
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.