[][src]Struct gfx_hal::image::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[src]

pub const RANGE: Range<Self>[src]

Possible LOD range.

Trait Implementations

impl Clone for Lod[src]

impl Copy for Lod[src]

impl Eq for Lod[src]

impl PartialEq<Lod> for Lod[src]

impl PartialOrd<Lod> for Lod[src]

impl Debug for Lod[src]

impl Hash for Lod[src]

impl StructuralPartialEq for Lod[src]

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]