#[repr(C)]pub struct PipelineColorBlendStateCreateInfo<'s> { /* private fields */ }
Expand description
A VkPipelineColorBlendStateCreateInfo
.
Implementations§
Source§impl<'s> PipelineColorBlendStateCreateInfo<'s>
impl<'s> PipelineColorBlendStateCreateInfo<'s>
pub fn builder<'b>() -> PipelineColorBlendStateCreateInfoBuilder<'b>
pub unsafe fn from_raw( raw: VkPipelineColorBlendStateCreateInfo, ) -> PipelineColorBlendStateCreateInfo<'s>
pub fn next<'a>(&'a self) -> *const c_void
pub fn flags<'a>(&'a self) -> PipelineColorBlendStateCreateFlags
pub fn logic_op_enable<'a>(&'a self) -> bool
pub fn logic_op<'a>(&'a self) -> LogicOp
pub fn attachments<'a>(&'a self) -> &'a [PipelineColorBlendAttachmentState]
pub fn blend_constants<'a>(&'a self) -> &[f32]
pub unsafe fn set_next<'m>(&mut self, next: *const c_void)
pub fn set_flags<'m>(&mut self, flags: PipelineColorBlendStateCreateFlags)
pub fn set_logic_op_enable<'m>(&mut self, logic_op_enable: bool)
pub fn set_logic_op<'m>(&mut self, logic_op: LogicOp)
pub fn set_attachments<'m, 'a>(
&mut self,
attachments: &'a [PipelineColorBlendAttachmentState],
)where
'a: 's,
pub fn set_blend_constants<'m>(&mut self, blend_constants: [f32; 4])
pub fn as_raw(&self) -> &VkPipelineColorBlendStateCreateInfo
Trait Implementations§
Source§impl<'s> Clone for PipelineColorBlendStateCreateInfo<'s>
impl<'s> Clone for PipelineColorBlendStateCreateInfo<'s>
Source§fn clone(&self) -> PipelineColorBlendStateCreateInfo<'s>
fn clone(&self) -> PipelineColorBlendStateCreateInfo<'s>
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<'s> Debug for PipelineColorBlendStateCreateInfo<'s>
impl<'s> Debug for PipelineColorBlendStateCreateInfo<'s>
Source§impl<'s> Default for PipelineColorBlendStateCreateInfo<'s>
impl<'s> Default for PipelineColorBlendStateCreateInfo<'s>
Source§fn default() -> PipelineColorBlendStateCreateInfo<'s>
fn default() -> PipelineColorBlendStateCreateInfo<'s>
Returns the “default value” for a type. Read more
Source§impl<'s> From<PipelineColorBlendStateCreateInfo<'s>> for VkPipelineColorBlendStateCreateInfo
impl<'s> From<PipelineColorBlendStateCreateInfo<'s>> for VkPipelineColorBlendStateCreateInfo
Source§fn from(
f: PipelineColorBlendStateCreateInfo<'s>,
) -> VkPipelineColorBlendStateCreateInfo
fn from( f: PipelineColorBlendStateCreateInfo<'s>, ) -> VkPipelineColorBlendStateCreateInfo
Converts to this type from the input type.
Auto Trait Implementations§
impl<'s> Freeze for PipelineColorBlendStateCreateInfo<'s>
impl<'s> RefUnwindSafe for PipelineColorBlendStateCreateInfo<'s>
impl<'s> !Send for PipelineColorBlendStateCreateInfo<'s>
impl<'s> !Sync for PipelineColorBlendStateCreateInfo<'s>
impl<'s> Unpin for PipelineColorBlendStateCreateInfo<'s>
impl<'s> UnwindSafe for PipelineColorBlendStateCreateInfo<'s>
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