pub struct CxOsDrawShader {
pub gl_shader: Option<GlShader>,
pub vertex: String,
pub pixel: String,
}Fields§
§gl_shader: Option<GlShader>§vertex: String§pixel: StringImplementations§
Source§impl CxOsDrawShader
impl CxOsDrawShader
pub fn new(vertex: &str, pixel: &str) -> CxOsDrawShader
pub fn free_resources(&mut self)
Trait Implementations§
Source§impl Clone for CxOsDrawShader
impl Clone for CxOsDrawShader
Source§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 Freeze for CxOsDrawShader
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