#[repr(C)]pub enum TextureWrap {
Repeat = 0,
Clamp = 1,
MirrorRepeat = 2,
MirrorClamp = 3,
}
Expand description
Texture parameters: wrap mode
Variants§
Repeat = 0
Repeats texture in tiled mode
Clamp = 1
Clamps texture to edge pixel in tiled mode
MirrorRepeat = 2
Mirrors and repeats the texture in tiled mode
MirrorClamp = 3
Mirrors and clamps to border the texture in tiled mode
Trait Implementations§
Source§impl Clone for TextureWrap
impl Clone for TextureWrap
Source§fn clone(&self) -> TextureWrap
fn clone(&self) -> TextureWrap
Returns a copy 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 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