[]Struct rendy_resource::Lod

pub struct Lod(pub f32);

A wrapper for the LOD level of an image. Needed so that we can implement Eq and Hash for it.

Methods

impl Lod

pub const RANGE: Range<Lod>

Possible LOD range.

Trait Implementations

impl PartialEq<Lod> for Lod

impl Copy for Lod

impl Eq for Lod

impl Debug for Lod

impl PartialOrd<Lod> for Lod

impl Hash for Lod

impl Clone for Lod

impl StructuralPartialEq for Lod

Auto Trait Implementations

impl Send for Lod

impl Sync for Lod

impl Unpin for Lod

impl UnwindSafe for Lod

impl RefUnwindSafe for Lod

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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