pub struct DynamicState {
pub flags: PipelineDynamicStateCreateFlags,
pub dynamic_states: Vec<DynamicState>,
}Expand description
Fields§
§flags: PipelineDynamicStateCreateFlags§dynamic_states: Vec<DynamicState>Implementations§
Source§impl DynamicState
impl DynamicState
pub fn new_default(dynamic_states: Vec<DynamicState>) -> Self
pub fn write_create_info_builder<'a>( &'a self, builder: PipelineDynamicStateCreateInfoBuilder<'a>, ) -> PipelineDynamicStateCreateInfoBuilder<'a>
pub fn create_info_builder(&self) -> PipelineDynamicStateCreateInfoBuilder<'_>
Sourcepub unsafe fn from_create_info(value: &PipelineDynamicStateCreateInfo) -> Self
pub unsafe fn from_create_info(value: &PipelineDynamicStateCreateInfo) -> Self
Safety:
- if
p_dynamic_statesis not null, it must point to an array ofdynamic_state_countvalues
pub fn from_create_info_builder( value: &PipelineDynamicStateCreateInfoBuilder<'_>, ) -> Self
Trait Implementations§
Source§impl Clone for DynamicState
impl Clone for DynamicState
Source§fn clone(&self) -> DynamicState
fn clone(&self) -> DynamicState
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 moreSource§impl Debug for DynamicState
impl Debug for DynamicState
Auto Trait Implementations§
impl Freeze for DynamicState
impl RefUnwindSafe for DynamicState
impl Send for DynamicState
impl Sync for DynamicState
impl Unpin for DynamicState
impl UnwindSafe for DynamicState
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