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
Geometry
Instance
Fields
live_field_kind: LiveFieldKind
Texture
Uniform
Varying
Fields
var_def_ptr: VarDefPtr
Trait Implementations
sourceimpl Clone for DrawShaderFieldKind
impl Clone for DrawShaderFieldKind
sourcefn clone(&self) -> DrawShaderFieldKind
fn clone(&self) -> DrawShaderFieldKind
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for DrawShaderFieldKind
impl Send for DrawShaderFieldKind
impl !Sync for DrawShaderFieldKind
impl Unpin for DrawShaderFieldKind
impl UnwindSafe for DrawShaderFieldKind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more