Struct rafx_visibility::OrthographicParameters[][src]

pub struct OrthographicParameters { /* fields omitted */ }

Implementations

impl OrthographicParameters[src]

pub fn new(
    left: f32,
    right: f32,
    bottom: f32,
    top: f32,
    near_distance: f32,
    far_distance: f32,
    depth_range: DepthRange
) -> Self
[src]

pub fn left(&self) -> f32[src]

pub fn right(&self) -> f32[src]

pub fn bottom(&self) -> f32[src]

pub fn top(&self) -> f32[src]

pub fn near_distance(&self) -> f32[src]

pub fn far_distance(&self) -> f32[src]

pub fn depth_range(&self) -> DepthRange[src]

Trait Implementations

impl Clone for OrthographicParameters[src]

impl Debug for OrthographicParameters[src]

impl Default for OrthographicParameters[src]

impl PartialEq<OrthographicParameters> for OrthographicParameters[src]

impl StructuralPartialEq for OrthographicParameters[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.