Struct vulkano::shader::EntryPoint
source · pub struct EntryPoint { /* private fields */ }
Expand description
Represents a shader entry point in a shader module.
Can be obtained by calling entry_point
on the shader module.
Implementations§
source§impl EntryPoint
impl EntryPoint
sourcepub fn module(&self) -> &Arc<SpecializedShaderModule>
pub fn module(&self) -> &Arc<SpecializedShaderModule>
Returns the module this entry point comes from.
sourcepub fn info(&self) -> &EntryPointInfo
pub fn info(&self) -> &EntryPointInfo
Returns information about the entry point.
Trait Implementations§
source§impl Clone for EntryPoint
impl Clone for EntryPoint
source§fn clone(&self) -> EntryPoint
fn clone(&self) -> EntryPoint
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 EntryPoint
impl Send for EntryPoint
impl Sync for EntryPoint
impl Unpin for EntryPoint
impl !UnwindSafe for EntryPoint
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