pub enum ShaderParamType {
Show 13 variants
Unknown,
Bool,
Float,
Int,
String,
Vec2,
Vec3,
Vec4,
Int2,
Int3,
Int4,
Mat4,
Texture,
}Variants§
Implementations§
Source§impl ShaderParamType
impl ShaderParamType
pub fn as_raw(&self) -> gs_shader_param_type
pub fn from_raw(param_type: gs_shader_param_type) -> Self
Trait Implementations§
Source§impl Clone for ShaderParamType
impl Clone for ShaderParamType
Source§fn clone(&self) -> ShaderParamType
fn clone(&self) -> ShaderParamType
Returns a duplicate 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 ShaderParamType
impl Debug for ShaderParamType
Source§impl PartialEq for ShaderParamType
impl PartialEq for ShaderParamType
impl Copy for ShaderParamType
impl Eq for ShaderParamType
impl StructuralPartialEq for ShaderParamType
Auto Trait Implementations§
impl Freeze for ShaderParamType
impl RefUnwindSafe for ShaderParamType
impl Send for ShaderParamType
impl Sync for ShaderParamType
impl Unpin for ShaderParamType
impl UnwindSafe for ShaderParamType
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