[−][src]Enum web_glitz::image::MipmapLevels
Describes the number of mipmap levels that are to be allocated for a texture.
See the module documentation for [web_glitz::image] for details on mipmap storage.
Variants
Variant that will allocate storage for all mipmap levels in the complete mipmap chain for an image of the relevant width and height.
Partial(usize)Variant that specifies a partial mipmap chain with an explicit number of levels.
Auto Trait Implementations
impl RefUnwindSafe for MipmapLevels
impl Send for MipmapLevels
impl Sync for MipmapLevels
impl Unpin for MipmapLevels
impl UnwindSafe for MipmapLevels
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, 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>,