Struct eschers::canvas::Box
[−]
[src]
A Box represents the area and position that we will draw in.
Fields
a: Vector<f64>
Determines the origin of the drawing area, used to position the box.
b: Vector<f64>
Determines the x axis of the box.
c: Vector<f64>
Determines the y axis of the box.
Methods
impl Box
[src]
impl Box
pub fn new(a: Vector<f64>, b: Vector<f64>, c: Vector<f64>) -> Box
[src]
pub fn new(a: Vector<f64>, b: Vector<f64>, c: Vector<f64>) -> Box
Create a box from corresponding vectors
Trait Implementations
impl Debug for Box
[src]
impl Debug for Box
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Box
[src]
impl PartialEq for Box
fn eq(&self, __arg_0: &Box) -> bool
[src]
fn eq(&self, __arg_0: &Box) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Box) -> bool
[src]
fn ne(&self, __arg_0: &Box) -> bool
This method tests for !=
.
impl Clone for Box
[src]
impl Clone for Box
fn clone(&self) -> Box
[src]
fn clone(&self) -> Box
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 Box
[src]
impl Copy for Box