pub enum WrapMode {
ClampToEdge,
MirroredRepeat,
Repeat,
}Expand description
Texture coordinate wrapping behavior.
Variants§
ClampToEdge
Clamps texture coordinates to edge texels.
MirroredRepeat
Repeats the texture while mirroring every other interval.
Repeat
Repeats the texture at every integer boundary.
Trait Implementations§
impl Copy for WrapMode
impl Eq for WrapMode
impl StructuralPartialEq for WrapMode
Auto Trait Implementations§
impl Freeze for WrapMode
impl RefUnwindSafe for WrapMode
impl Send for WrapMode
impl Sync for WrapMode
impl Unpin for WrapMode
impl UnsafeUnpin for WrapMode
impl UnwindSafe for WrapMode
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