Struct mallumo_gls::raw::Viewport
[−]
[src]
pub struct Viewport { pub x: u32, pub y: u32, pub width: u32, pub height: u32, }
Fields
x: u32
y: u32
width: u32
height: u32
Trait Implementations
impl Debug for Viewport
[src]
impl Copy for Viewport
[src]
impl Clone for Viewport
[src]
fn clone(&self) -> Viewport
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialEq for Viewport
[src]
fn eq(&self, __arg_0: &Viewport) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Viewport) -> bool
This method tests for !=
.