pub struct FragmentState {
pub module: Option<ShaderModule>,
pub entry_point: Option<String>,
pub constants: Option<Vec<ConstantEntry>>,
pub targets: Option<Vec<ColorTargetState>>,
/* private fields */
}Fields§
§module: Option<ShaderModule>§entry_point: Option<String>§constants: Option<Vec<ConstantEntry>>§targets: Option<Vec<ColorTargetState>>Implementations§
Source§impl FragmentState
impl FragmentState
pub fn new() -> Self
pub fn with_extension(self, extension: FragmentStateExtension) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FragmentState
impl RefUnwindSafe for FragmentState
impl Send for FragmentState
impl Sync for FragmentState
impl Unpin for FragmentState
impl UnsafeUnpin for FragmentState
impl UnwindSafe for FragmentState
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