pub struct BakedStates {
pub viewport: Option<Viewport>,
pub scissor: Option<Rect>,
pub blend_constants: Option<ColorValue>,
pub depth_bounds: Option<Range<f32>>,
}
Expand description
Baked-in pipeline states.
Fields§
§viewport: Option<Viewport>
Static viewport. TODO: multiple viewports
scissor: Option<Rect>
Static scissor. TODO: multiple scissors
blend_constants: Option<ColorValue>
Static blend constant color.
depth_bounds: Option<Range<f32>>
Static depth bounds.
Trait Implementations§
Source§impl Clone for BakedStates
impl Clone for BakedStates
Source§fn clone(&self) -> BakedStates
fn clone(&self) -> BakedStates
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BakedStates
impl Debug for BakedStates
Source§impl Default for BakedStates
impl Default for BakedStates
Source§fn default() -> BakedStates
fn default() -> BakedStates
Returns the “default value” for a type. Read more
Source§impl PartialEq for BakedStates
impl PartialEq for BakedStates
impl StructuralPartialEq for BakedStates
Auto Trait Implementations§
impl Freeze for BakedStates
impl RefUnwindSafe for BakedStates
impl Send for BakedStates
impl Sync for BakedStates
impl Unpin for BakedStates
impl UnwindSafe for BakedStates
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