Struct quicksilver::graphics::View [−][src]
pub struct View { /* fields omitted */ }
A view into the world, used as a camera and a viewport
Methods
impl View
[src]
impl View
pub fn new(world: Rectangle) -> View
[src]
pub fn new(world: Rectangle) -> View
Create a new view that looks at a given area
pub fn new_transformed(world: Rectangle, transform: Transform) -> View
[src]
pub fn new_transformed(world: Rectangle, transform: Transform) -> View
Create a new view that looks at a given area with a transform
The transform is relative to the center of the region
Trait Implementations
impl Clone for View
[src]
impl Clone for View
fn clone(&self) -> View
[src]
fn clone(&self) -> View
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for View
[src]
impl Copy for View
impl Debug for View
[src]
impl Debug for View