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 Boxpub 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>) -> BoxCreate a box from corresponding vectors
Trait Implementations
impl Debug for Box[src]
impl Debug for Boxfn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
fn fmt(&self, __arg_0: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for Box[src]
impl PartialEq for Boxfn eq(&self, __arg_0: &Box) -> bool[src]
fn eq(&self, __arg_0: &Box) -> boolThis 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) -> boolThis method tests for !=.
impl Clone for Box[src]
impl Clone for Boxfn clone(&self) -> Box[src]
fn clone(&self) -> BoxReturns 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