[−][src]Struct web_glitz::image::texture_cube::LevelMut
Implementations
impl<'a, F> LevelMut<'a, F>[src]
pub fn positive_x_mut(&mut self) -> LevelFaceMut<'_, F>[src]
Returns a mutable reference to the "positive x" face of the level.
pub fn negative_x_mut(&mut self) -> LevelFaceMut<'_, F>[src]
Returns a mutable reference to the "negative x" face of the level.
pub fn positive_y_mut(&mut self) -> LevelFaceMut<'_, F>[src]
Returns a mutable reference to the "positive y" face of the level.
pub fn negative_y_mut(&mut self) -> LevelFaceMut<'_, F>[src]
Returns a mutable reference to the "negative y" face of the level.
pub fn positive_z_mut(&mut self) -> LevelFaceMut<'_, F>[src]
Returns a mutable reference to the "positive z" face of the level.
pub fn negative_z_mut(&mut self) -> LevelFaceMut<'_, F>[src]
Returns a mutable reference to the "negative z" face of the level.
Methods from Deref<Target = Level<'a, F>>
pub fn level(&self) -> usize[src]
Returns the integer that identifies this level.
For example, if this Level is the texture's base level, returns 0; if it is the second
level, returns 1; etc.
pub fn width(&self) -> u32[src]
Returns the width of this level.
pub fn height(&self) -> u32[src]
Returns the height of this level.
pub fn positive_x(&self) -> LevelFace<'_, F>[src]
Returns a reference to the "positive x" face for this level.
pub fn negative_x(&self) -> LevelFace<'_, F>[src]
Returns a reference to the "negative x" face for this level.
pub fn positive_y(&self) -> LevelFace<'_, F>[src]
Returns a reference to the "positive y" face for this level.
pub fn negative_y(&self) -> LevelFace<'_, F>[src]
Returns a reference to the "negative y" face for this level.
pub fn positive_z(&self) -> LevelFace<'_, F>[src]
Returns a reference to the "positive z" face for this level.
pub fn negative_z(&self) -> LevelFace<'_, F>[src]
Returns a reference to the "negative z" face for this level.
Trait Implementations
impl<'a, F> Deref for LevelMut<'a, F>[src]
type Target = Level<'a, F>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target[src]
impl<'a, F: Hash> Hash for LevelMut<'a, F>[src]
fn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
H: Hasher,
impl<'a, F: PartialEq> PartialEq<LevelMut<'a, F>> for LevelMut<'a, F>[src]
fn eq(&self, other: &LevelMut<'a, F>) -> bool[src]
fn ne(&self, other: &LevelMut<'a, F>) -> bool[src]
impl<'a, F> StructuralPartialEq for LevelMut<'a, F>[src]
Auto Trait Implementations
impl<'a, F> !RefUnwindSafe for LevelMut<'a, F>
impl<'a, F> !Send for LevelMut<'a, F>
impl<'a, F> !Sync for LevelMut<'a, F>
impl<'a, F> Unpin for LevelMut<'a, F>
impl<'a, F> !UnwindSafe for LevelMut<'a, F>
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>,