[−][src]Struct web_glitz::image::MaxMipmapLevelsExceeded
Error returned when creating a texture using MipmapLevels::Partial to specify a specific number of mipmap levels, but the number of levels specified is greater than the number of levels in the complete mipmap chain for an image of the relevant dimensions.
Fields
given: usizeThe number of levels specified with MipmapLevels::Partial.
max: usizeThe maximum number of levels possible in a mipmap chain for an image of the relevant dimensions.
Trait Implementations
impl Clone for MaxMipmapLevelsExceeded[src]
fn clone(&self) -> MaxMipmapLevelsExceeded[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Copy for MaxMipmapLevelsExceeded[src]
impl Debug for MaxMipmapLevelsExceeded[src]
impl PartialEq<MaxMipmapLevelsExceeded> for MaxMipmapLevelsExceeded[src]
fn eq(&self, other: &MaxMipmapLevelsExceeded) -> bool[src]
fn ne(&self, other: &MaxMipmapLevelsExceeded) -> bool[src]
impl StructuralPartialEq for MaxMipmapLevelsExceeded[src]
Auto Trait Implementations
impl RefUnwindSafe for MaxMipmapLevelsExceeded
impl Send for MaxMipmapLevelsExceeded
impl Sync for MaxMipmapLevelsExceeded
impl Unpin for MaxMipmapLevelsExceeded
impl UnwindSafe for MaxMipmapLevelsExceeded
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<D, T> IntoBuffer<T> for D where
D: Borrow<T> + 'static,
T: Copy + 'static, [src]
D: Borrow<T> + 'static,
T: Copy + 'static,
pub fn into_buffer<Rc>(Self, &Rc, BufferId, UsageHint) -> Buffer<T> where
Rc: RenderingContext + Clone + 'static, [src]
Rc: RenderingContext + Clone + 'static,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,