Struct makepad_widgets::shader::std::os::linux::opengl::CxOsDrawShader
pub struct CxOsDrawShader {
pub gl_shader: Option<GlShader>,
pub vertex: String,
pub pixel: String,
}
Fields§
§gl_shader: Option<GlShader>
§vertex: String
§pixel: String
Implementations§
§impl CxOsDrawShader
impl CxOsDrawShader
pub fn new(vertex: &str, pixel: &str) -> CxOsDrawShader
pub fn free_resources(&mut self)
Trait Implementations§
§impl Clone for CxOsDrawShader
impl Clone for CxOsDrawShader
§fn clone(&self) -> CxOsDrawShader
fn clone(&self) -> CxOsDrawShader
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 RefUnwindSafe for CxOsDrawShader
impl Send for CxOsDrawShader
impl Sync for CxOsDrawShader
impl Unpin for CxOsDrawShader
impl UnwindSafe for CxOsDrawShader
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