Struct plotters::coord::cartesian::Cartesian3d [−][src]
Expand description
A 3D cartesian coordinate system
Implementations
impl<X: Ranged, Y: Ranged, Z: Ranged> Cartesian3d<X, Y, Z>
[src]
impl<X: Ranged, Y: Ranged, Z: Ranged> Cartesian3d<X, Y, Z>
[src]pub fn with_projection<SX: Into<X>, SY: Into<Y>, SZ: Into<Z>, F: FnOnce(ProjectionMatrixBuilder) -> ProjectionMatrix>(
logic_x: SX,
logic_y: SY,
logic_z: SZ,
(actual_x, actual_y): (Range<i32>, Range<i32>),
build_projection_matrix: F
) -> Self
[src]
logic_x: SX,
logic_y: SY,
logic_z: SZ,
(actual_x, actual_y): (Range<i32>, Range<i32>),
build_projection_matrix: F
) -> Self
pub fn set_coord_pixel_range(
&mut self,
actual_x: Range<i32>,
actual_y: Range<i32>,
coord_size: (i32, i32, i32)
) -> &mut Self
[src]
&mut self,
actual_x: Range<i32>,
actual_y: Range<i32>,
coord_size: (i32, i32, i32)
) -> &mut Self
pub fn set_projection<F: FnOnce(ProjectionMatrixBuilder) -> ProjectionMatrix>(
&mut self,
actual_x: Range<i32>,
actual_y: Range<i32>,
f: F
) -> &mut Self
[src]
pub fn set_projection<F: FnOnce(ProjectionMatrixBuilder) -> ProjectionMatrix>(
&mut self,
actual_x: Range<i32>,
actual_y: Range<i32>,
f: F
) -> &mut Self
[src]Set the projection matrix
pub fn new<SX: Into<X>, SY: Into<Y>, SZ: Into<Z>>(
logic_x: SX,
logic_y: SY,
logic_z: SZ,
(actual_x, actual_y): (Range<i32>, Range<i32>)
) -> Self
[src]
pub fn new<SX: Into<X>, SY: Into<Y>, SZ: Into<Z>>(
logic_x: SX,
logic_y: SY,
logic_z: SZ,
(actual_x, actual_y): (Range<i32>, Range<i32>)
) -> Self
[src]Create a new coordinate
pub fn projection(&self) -> &ProjectionMatrix
[src]
pub fn projection(&self) -> &ProjectionMatrix
[src]Get the projection matrix
Trait Implementations
impl<X: Ranged, Y: Ranged, Z: Ranged> CoordTranslate for Cartesian3d<X, Y, Z>
[src]
impl<X: Ranged, Y: Ranged, Z: Ranged> CoordTranslate for Cartesian3d<X, Y, Z>
[src]Auto Trait Implementations
impl<X, Y, Z> RefUnwindSafe for Cartesian3d<X, Y, Z> where
X: RefUnwindSafe,
Y: RefUnwindSafe,
Z: RefUnwindSafe,
X: RefUnwindSafe,
Y: RefUnwindSafe,
Z: RefUnwindSafe,
impl<X, Y, Z> Send for Cartesian3d<X, Y, Z> where
X: Send,
Y: Send,
Z: Send,
X: Send,
Y: Send,
Z: Send,
impl<X, Y, Z> Sync for Cartesian3d<X, Y, Z> where
X: Sync,
Y: Sync,
Z: Sync,
X: Sync,
Y: Sync,
Z: Sync,
impl<X, Y, Z> Unpin for Cartesian3d<X, Y, Z> where
X: Unpin,
Y: Unpin,
Z: Unpin,
X: Unpin,
Y: Unpin,
Z: Unpin,
impl<X, Y, Z> UnwindSafe for Cartesian3d<X, Y, Z> where
X: UnwindSafe,
Y: UnwindSafe,
Z: UnwindSafe,
X: UnwindSafe,
Y: UnwindSafe,
Z: UnwindSafe,
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.