Struct yy_typings::shader::Shader
source · [−]pub struct Shader {
pub common_data: CommonData<ConstGmShader>,
pub shader_type: ShaderType,
pub parent: ViewPath,
}
Fields
common_data: CommonData<ConstGmShader>
shader_type: ShaderType
parent: ViewPath
Implementations
sourceimpl Shader
impl Shader
pub const FRAG_FILE_ENDING: &'static str = "fsh"
pub const VERT_FILE_ENDING: &'static str = "vsh"
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Shader
impl<'de> Deserialize<'de> for Shader
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<Shader> for Shader
impl PartialEq<Shader> for Shader
impl StructuralPartialEq for Shader
Auto Trait Implementations
impl RefUnwindSafe for Shader
impl Send for Shader
impl Sync for Shader
impl Unpin for Shader
impl UnwindSafe for Shader
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