#[repr(u32)]pub enum TextureWrap {
Repeat = 10_497,
ClampToEdge = 33_071,
MirroredRepeat = 33_648,
}
Expand description
Texture wrapping.
This enum lists the texture wrapping settings supported by WebGL2.
Variants§
Repeat = 10_497
Repeat.
ClampToEdge = 33_071
Clamp to edge.
MirroredRepeat = 33_648
Mirrored repeat.
Trait Implementations§
Source§impl Clone for TextureWrap
impl Clone for TextureWrap
Source§fn clone(&self) -> TextureWrap
fn clone(&self) -> TextureWrap
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TextureWrap
impl Debug for TextureWrap
Source§impl Default for TextureWrap
impl Default for TextureWrap
Source§fn default() -> TextureWrap
fn default() -> TextureWrap
Returns the “default value” for a type. Read more
Source§impl Hash for TextureWrap
impl Hash for TextureWrap
Source§impl PartialEq for TextureWrap
impl PartialEq for TextureWrap
impl Copy for TextureWrap
impl Eq for TextureWrap
impl StructuralPartialEq for TextureWrap
Auto Trait Implementations§
impl Freeze for TextureWrap
impl RefUnwindSafe for TextureWrap
impl Send for TextureWrap
impl Sync for TextureWrap
impl Unpin for TextureWrap
impl UnwindSafe for TextureWrap
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