pub struct Constant<C, T> {
pub texel: Vec4<T>,
/* private fields */
}Expand description
Generic texture data container for textures whose texels are all identical.
Fields§
§texel: Vec4<T>Implementations§
Trait Implementations§
Source§impl<C: PartialEq, T: PartialEq> PartialEq for Constant<C, T>
impl<C: PartialEq, T: PartialEq> PartialEq for Constant<C, T>
impl<C: Copy, T: Copy> Copy for Constant<C, T>
impl<C: Eq, T: Eq> Eq for Constant<C, T>
impl<C, T> StructuralPartialEq for Constant<C, T>
Auto Trait Implementations§
impl<C, T> Freeze for Constant<C, T>where
T: Freeze,
impl<C, T> RefUnwindSafe for Constant<C, T>where
T: RefUnwindSafe,
impl<C, T> Send for Constant<C, T>where
T: Send,
impl<C, T> Sync for Constant<C, T>where
T: Sync,
impl<C, T> Unpin for Constant<C, T>where
T: Unpin,
impl<C, T> UnsafeUnpin for Constant<C, T>where
T: UnsafeUnpin,
impl<C, T> UnwindSafe for Constant<C, T>where
T: UnwindSafe,
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