Struct vulkanalia::vk::SpecializationInfoBuilder
source · #[repr(transparent)]pub struct SpecializationInfoBuilder<'b> { /* private fields */ }
Expand description
A builder for a SpecializationInfo
.
Implementations§
source§impl<'b> SpecializationInfoBuilder<'b>
impl<'b> SpecializationInfoBuilder<'b>
pub fn map_entries( self, map_entries: &'b [impl Cast<Target = SpecializationMapEntry>] ) -> Self
pub fn data(self, data: &'b [u8]) -> Self
pub fn build(self) -> SpecializationInfo
Trait Implementations§
source§impl<'b> Cast for SpecializationInfoBuilder<'b>
impl<'b> Cast for SpecializationInfoBuilder<'b>
§type Target = SpecializationInfo
type Target = SpecializationInfo
The other type this type can be used interchangeably with in FFI.
source§impl<'b> Clone for SpecializationInfoBuilder<'b>
impl<'b> Clone for SpecializationInfoBuilder<'b>
source§fn clone(&self) -> SpecializationInfoBuilder<'b>
fn clone(&self) -> SpecializationInfoBuilder<'b>
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 moresource§impl<'b> Debug for SpecializationInfoBuilder<'b>
impl<'b> Debug for SpecializationInfoBuilder<'b>
source§impl<'b> Default for SpecializationInfoBuilder<'b>
impl<'b> Default for SpecializationInfoBuilder<'b>
source§fn default() -> SpecializationInfoBuilder<'b>
fn default() -> SpecializationInfoBuilder<'b>
Returns the “default value” for a type. Read more
source§impl<'b> Deref for SpecializationInfoBuilder<'b>
impl<'b> Deref for SpecializationInfoBuilder<'b>
source§impl<'b> DerefMut for SpecializationInfoBuilder<'b>
impl<'b> DerefMut for SpecializationInfoBuilder<'b>
impl<'b> Copy for SpecializationInfoBuilder<'b>
Auto Trait Implementations§
impl<'b> RefUnwindSafe for SpecializationInfoBuilder<'b>
impl<'b> !Send for SpecializationInfoBuilder<'b>
impl<'b> !Sync for SpecializationInfoBuilder<'b>
impl<'b> Unpin for SpecializationInfoBuilder<'b>
impl<'b> UnwindSafe for SpecializationInfoBuilder<'b>
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