Enum obs_wrapper::graphics::ShaderParamType
source · [−]pub enum ShaderParamType {
Show 13 variants
Unknown,
Bool,
Float,
Int,
String,
Vec2,
Vec3,
Vec4,
Int2,
Int3,
Int4,
Mat4,
Texture,
}Variants
Unknown
Bool
Float
Int
String
Vec2
Vec3
Vec4
Int2
Int3
Int4
Mat4
Texture
Implementations
sourceimpl 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
sourceimpl Clone for ShaderParamType
impl Clone for ShaderParamType
sourcefn clone(&self) -> ShaderParamType
fn clone(&self) -> ShaderParamType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ShaderParamType
impl Debug for ShaderParamType
sourceimpl PartialEq<ShaderParamType> for ShaderParamType
impl PartialEq<ShaderParamType> for ShaderParamType
sourcefn eq(&self, other: &ShaderParamType) -> bool
fn eq(&self, other: &ShaderParamType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
impl Copy for ShaderParamType
impl Eq for ShaderParamType
impl StructuralEq for ShaderParamType
impl StructuralPartialEq for ShaderParamType
Auto Trait Implementations
impl RefUnwindSafe for ShaderParamType
impl Send for ShaderParamType
impl Sync for ShaderParamType
impl Unpin for ShaderParamType
impl UnwindSafe for ShaderParamType
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