pub struct GlCullState { /* private fields */ }Expand description
The culling and winding state of one draw.
Implementations§
Source§impl GlCullState
impl GlCullState
pub fn get_mode(&self) -> &CullMode
pub fn get_mut_mode(&mut self) -> &mut CullMode
pub fn set_mode(&mut self, val: CullMode) -> &mut Self
pub fn get_front_face(&self) -> &FrontFace
pub fn get_mut_front_face(&mut self) -> &mut FrontFace
pub fn set_front_face(&mut self, val: FrontFace) -> &mut Self
Trait Implementations§
Source§impl Clone for GlCullState
impl Clone for GlCullState
impl Copy for GlCullState
Source§impl Debug for GlCullState
impl Debug for GlCullState
Source§impl Default for GlCullState
impl Default for GlCullState
Source§impl PartialEq for GlCullState
impl PartialEq for GlCullState
impl StructuralPartialEq for GlCullState
Auto Trait Implementations§
impl Freeze for GlCullState
impl RefUnwindSafe for GlCullState
impl Send for GlCullState
impl Sync for GlCullState
impl Unpin for GlCullState
impl UnsafeUnpin for GlCullState
impl UnwindSafe for GlCullState
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