Struct fsr_sys::IntCoords2D
source · #[repr(C)]pub struct IntCoords2D {
pub x: i32,
pub y: i32,
}
Expand description
A structure encapsulating a 2-dimensional point,
Fields§
§x: i32
< The x coordinate of a 2-dimensional point.
y: i32
< The y coordinate of a 2-dimensional point.
Trait Implementations§
source§impl Clone for IntCoords2D
impl Clone for IntCoords2D
source§fn clone(&self) -> IntCoords2D
fn clone(&self) -> IntCoords2D
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 IntCoords2D
impl Debug for IntCoords2D
source§impl Default for IntCoords2D
impl Default for IntCoords2D
source§fn default() -> IntCoords2D
fn default() -> IntCoords2D
Returns the “default value” for a type. Read more
impl Copy for IntCoords2D
Auto Trait Implementations§
impl Freeze for IntCoords2D
impl RefUnwindSafe for IntCoords2D
impl Send for IntCoords2D
impl Sync for IntCoords2D
impl Unpin for IntCoords2D
impl UnwindSafe for IntCoords2D
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