pub enum DrawShaderFieldKind {
Geometry {
is_used_in_pixel_shader: Cell<bool>,
var_def_ptr: Option<VarDefPtr>,
},
Instance {
is_used_in_pixel_shader: Cell<bool>,
live_field_kind: LiveFieldKind,
var_def_ptr: Option<VarDefPtr>,
},
Texture {
var_def_ptr: Option<VarDefPtr>,
},
Uniform {
var_def_ptr: Option<VarDefPtr>,
block_ident: Ident,
},
Varying {
var_def_ptr: VarDefPtr,
},
}
Variants§
Trait Implementations§
Source§impl Clone for DrawShaderFieldKind
impl Clone for DrawShaderFieldKind
Source§fn clone(&self) -> DrawShaderFieldKind
fn clone(&self) -> DrawShaderFieldKind
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 moreAuto Trait Implementations§
impl !Freeze for DrawShaderFieldKind
impl !RefUnwindSafe for DrawShaderFieldKind
impl Send for DrawShaderFieldKind
impl !Sync for DrawShaderFieldKind
impl Unpin for DrawShaderFieldKind
impl UnwindSafe for DrawShaderFieldKind
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