pub enum Clip {
ZO,
NO,
}
Expand description
Clip range.
Variants§
ZO
Clip range zero to one.
Used by Direct3D, Vulkan, Metal.
NO
Clip range negative to one.
Used by OpenGL, OpenGL ES, WebGL.
Trait Implementations§
impl Copy for Clip
impl Eq for Clip
impl StructuralPartialEq for Clip
Auto Trait Implementations§
impl Freeze for Clip
impl RefUnwindSafe for Clip
impl Send for Clip
impl Sync for Clip
impl Unpin for Clip
impl UnwindSafe for Clip
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