pub enum WrapMode {
Clamp,
Tile,
Mirror,
}
Expand description
Wrap modes a sampler may have.
Variants§
Clamp
Clamp colors to the edge of the texture.
Tile
Tile/repeat the texture.
Mirror
Mirror the texture.
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 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