Struct pathfinder_geometry::transform3d::Perspective
source · pub struct Perspective {
pub transform: Transform4F,
pub window_size: Vector2I,
}
Fields§
§transform: Transform4F
§window_size: Vector2I
Implementations§
source§impl Perspective
impl Perspective
pub fn new(transform: &Transform4F, window_size: Vector2I) -> Perspective
Trait Implementations§
source§impl Clone for Perspective
impl Clone for Perspective
source§fn clone(&self) -> Perspective
fn clone(&self) -> Perspective
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Perspective
impl Debug for Perspective
source§impl Mul<RectF> for Perspective
impl Mul<RectF> for Perspective
source§impl Mul<Transform4F> for Perspective
impl Mul<Transform4F> for Perspective
§type Output = Perspective
type Output = Perspective
The resulting type after applying the
*
operator.source§fn mul(self, other: Transform4F) -> Perspective
fn mul(self, other: Transform4F) -> Perspective
Performs the
*
operation. Read moresource§impl Mul<Vector2F> for Perspective
impl Mul<Vector2F> for Perspective
impl Copy for Perspective
Auto Trait Implementations§
impl Freeze for Perspective
impl RefUnwindSafe for Perspective
impl Send for Perspective
impl Sync for Perspective
impl Unpin for Perspective
impl UnwindSafe for Perspective
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more