#[repr(C)]pub struct FixedRect {
pub x: i32,
pub y: i32,
pub width: i32,
pub height: i32,
}Expand description
Cache-aligned 1/64th fixed-point integer layout rectangle.
Fields§
§x: i32§y: i32§width: i32§height: i32Implementations§
Trait Implementations§
impl Copy for FixedRect
impl Eq for FixedRect
impl StructuralPartialEq for FixedRect
Auto Trait Implementations§
impl Forget for FixedRect
impl Freeze for FixedRect
impl Move for FixedRect
impl RefUnwindSafe for FixedRect
impl Send for FixedRect
impl Sync for FixedRect
impl Unpin for FixedRect
impl UnsafeUnpin for FixedRect
impl UnwindSafe for FixedRect
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.