Struct rafx_visibility::VisibilityResult[][src]

pub struct VisibilityResult<T> {
    pub handle: T,
    pub id: u64,
    pub bounding_sphere: BoundingSphere,
    pub distance_from_view_frustum: f32,
}

Fields

handle: Tid: u64bounding_sphere: BoundingSpheredistance_from_view_frustum: f32

Implementations

impl<T> VisibilityResult<T>[src]

pub fn new(
    handle: T,
    id: u64,
    view_frustum_position: Vec3,
    bounding_sphere: BoundingSphere
) -> Self
[src]

Trait Implementations

impl<T: Clone> Clone for VisibilityResult<T>[src]

impl<T: Copy> Copy for VisibilityResult<T>[src]

impl<T: Default> Default for VisibilityResult<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for VisibilityResult<T> where
    T: RefUnwindSafe

impl<T> Send for VisibilityResult<T> where
    T: Send

impl<T> Sync for VisibilityResult<T> where
    T: Sync

impl<T> Unpin for VisibilityResult<T> where
    T: Unpin

impl<T> UnwindSafe for VisibilityResult<T> where
    T: UnwindSafe

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.