Struct gfx::tex::Lod []

pub struct Lod(_);

A wrapper for the LOD level of a texture.

Trait Implementations

impl PartialOrd<Lod> for Lod

fn partial_cmp(&self, __arg_0: &Lod) -> Option<Ordering>

fn lt(&self, __arg_0: &Lod) -> bool

fn le(&self, __arg_0: &Lod) -> bool

fn gt(&self, __arg_0: &Lod) -> bool

fn ge(&self, __arg_0: &Lod) -> bool

impl PartialEq<Lod> for Lod

fn eq(&self, __arg_0: &Lod) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &Lod) -> bool

This method tests for !=.

impl Hash for Lod

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl Eq for Lod

impl Debug for Lod

fn fmt(&self, __arg_0: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

impl Copy for Lod

impl Clone for Lod

fn clone(&self) -> Lod

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl From<f32> for Lod

fn from(v: f32) -> Lod

Performs the conversion.

impl Into<f32> for Lod

fn into(self) -> f32

Performs the conversion.