pub enum IsRect {
Rect,
NoRect,
}Expand description
Whether the sampler samples a rectangle texture.
Rectangle textures are the same as 2D textures, but accessed with absolute texture coordinates (as opposed to the usual, normalized to [0, 1]).
Variants§
Trait Implementations§
impl Copy for IsRect
impl Eq for IsRect
impl StructuralPartialEq for IsRect
Auto Trait Implementations§
impl Freeze for IsRect
impl RefUnwindSafe for IsRect
impl Send for IsRect
impl Sync for IsRect
impl Unpin for IsRect
impl UnwindSafe for IsRect
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