pub enum TextureWrapping {
Clamp,
Repeat,
RepeatMirrored,
}Expand description
Describes how textures are wrapped.
Variants§
Clamp
Corresponds to GL_CLAMP_TO_EDGE.
Repeat
Corresponds to GL_REPEAT.
RepeatMirrored
Corresponds to GL_MIRRORED_REPEAT.
Trait Implementations§
Source§impl Clone for TextureWrapping
impl Clone for TextureWrapping
Source§fn clone(&self) -> TextureWrapping
fn clone(&self) -> TextureWrapping
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 TextureWrapping
impl Debug for TextureWrapping
impl Copy for TextureWrapping
Auto Trait Implementations§
impl Freeze for TextureWrapping
impl RefUnwindSafe for TextureWrapping
impl Send for TextureWrapping
impl Sync for TextureWrapping
impl Unpin for TextureWrapping
impl UnsafeUnpin for TextureWrapping
impl UnwindSafe for TextureWrapping
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