pub struct ShaderFunction<'a> {
pub shader: &'a Shader,
pub entry_point: &'a str,
pub constants: &'a PipelineConstants,
}Fields§
§shader: &'a Shader§entry_point: &'a str§constants: &'a PipelineConstantsTrait Implementations§
Source§impl<'a> Clone for ShaderFunction<'a>
impl<'a> Clone for ShaderFunction<'a>
Source§fn clone(&self) -> ShaderFunction<'a>
fn clone(&self) -> ShaderFunction<'a>
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 moreimpl<'a> Copy for ShaderFunction<'a>
Auto Trait Implementations§
impl<'a> Freeze for ShaderFunction<'a>
impl<'a> RefUnwindSafe for ShaderFunction<'a>
impl<'a> Send for ShaderFunction<'a>
impl<'a> Sync for ShaderFunction<'a>
impl<'a> Unpin for ShaderFunction<'a>
impl<'a> UnwindSafe for ShaderFunction<'a>
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