pub struct SoDeclarationEntry<'a>(pub D3D12_SO_DECLARATION_ENTRY, _);Expand description
Wrapper around D3D12_SO_DECLARATION_ENTRY structure
Tuple Fields§
§0: D3D12_SO_DECLARATION_ENTRYImplementations§
Source§impl<'a> SoDeclarationEntry<'a>
impl<'a> SoDeclarationEntry<'a>
pub fn set_stream(&mut self, stream: u32) -> &mut Self
pub fn with_stream(self, stream: u32) -> Self
pub fn stream(&self) -> u32
pub fn set_semantic_name( &mut self, name: &'a str, ) -> Result<&mut Self, NulError>
pub fn with_semantic_name(self, name: &'a str) -> Result<Self, NulError>
pub fn semantic_name(&self) -> Result<&'a str, Utf8Error>
pub fn set_semantic_index(&mut self, semantic_index: u32) -> &mut Self
pub fn with_semantic_index(self, semantic_index: u32) -> Self
pub fn semantic_index(&self) -> u32
pub fn set_start_component(&mut self, start_component: u8) -> &mut Self
pub fn with_start_component(self, start_component: u8) -> Self
pub fn start_component(&self) -> u8
pub fn set_component_count(&mut self, component_count: u8) -> &mut Self
pub fn with_component_count(self, component_count: u8) -> Self
pub fn component_count(&self) -> u8
pub fn set_output_slot(&mut self, output_slot: u8) -> &mut Self
pub fn with_output_slot(self, output_slot: u8) -> Self
pub fn output_slot(&self) -> u8
Trait Implementations§
Source§impl<'a> Debug for SoDeclarationEntry<'a>
impl<'a> Debug for SoDeclarationEntry<'a>
Source§impl<'a> Drop for SoDeclarationEntry<'a>
impl<'a> Drop for SoDeclarationEntry<'a>
Source§impl<'a> Hash for SoDeclarationEntry<'a>
impl<'a> Hash for SoDeclarationEntry<'a>
Source§impl<'a> Ord for SoDeclarationEntry<'a>
impl<'a> Ord for SoDeclarationEntry<'a>
Source§fn cmp(&self, other: &SoDeclarationEntry<'a>) -> Ordering
fn cmp(&self, other: &SoDeclarationEntry<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for SoDeclarationEntry<'a>
impl<'a> PartialEq for SoDeclarationEntry<'a>
Source§impl<'a> PartialOrd for SoDeclarationEntry<'a>
impl<'a> PartialOrd for SoDeclarationEntry<'a>
impl<'a> Eq for SoDeclarationEntry<'a>
impl<'a> StructuralPartialEq for SoDeclarationEntry<'a>
Auto Trait Implementations§
impl<'a> Freeze for SoDeclarationEntry<'a>
impl<'a> RefUnwindSafe for SoDeclarationEntry<'a>
impl<'a> !Send for SoDeclarationEntry<'a>
impl<'a> !Sync for SoDeclarationEntry<'a>
impl<'a> Unpin for SoDeclarationEntry<'a>
impl<'a> UnwindSafe for SoDeclarationEntry<'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