pub struct Options { /* private fields */ }
Expand description
Current layer options.
Implementations§
source§impl Options
impl Options
sourcepub fn clear_color(self, clear: Rgba) -> Self
pub fn clear_color(self, clear: Rgba) -> Self
Sets clear color for the layer.
sourcepub fn clear_depth(self, clear: f32) -> Self
pub fn clear_depth(self, clear: f32) -> Self
Sets clear depth for the layer.
Trait Implementations§
impl Copy for Options
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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