pub struct Lod(pub f32);
Expand description
A wrapper for the LOD level of an image. Needed so that we can implement Eq and Hash for it.
Tuple Fields§
§0: f32
Implementations§
Trait Implementations§
Source§impl PartialOrd for Lod
impl PartialOrd for Lod
impl Copy for Lod
impl Eq for Lod
impl StructuralPartialEq for Lod
Auto Trait Implementations§
impl Freeze for Lod
impl RefUnwindSafe for Lod
impl Send for Lod
impl Sync for Lod
impl Unpin for Lod
impl UnwindSafe for Lod
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)