#[repr(transparent)]pub struct InputLayoutDesc<'a>(pub D3D12_INPUT_LAYOUT_DESC, _);
Expand description
Wrapper around D3D12_INPUT_LAYOUT_DESC structure
Tuple Fields§
§0: D3D12_INPUT_LAYOUT_DESC
Implementations§
Source§impl<'a> InputLayoutDesc<'a>
impl<'a> InputLayoutDesc<'a>
pub fn set_input_elements( &mut self, layout: &'a [InputElementDesc<'a>], ) -> &mut Self
pub fn with_input_elements(self, layout: &'a [InputElementDesc<'a>]) -> Self
pub fn input_elements(&self) -> &'a [InputElementDesc<'_>]
Trait Implementations§
Source§impl<'a> Debug for InputLayoutDesc<'a>
impl<'a> Debug for InputLayoutDesc<'a>
Source§impl Default for InputLayoutDesc<'_>
impl Default for InputLayoutDesc<'_>
Source§impl<'a> Hash for InputLayoutDesc<'a>
impl<'a> Hash for InputLayoutDesc<'a>
Source§impl<'a> Ord for InputLayoutDesc<'a>
impl<'a> Ord for InputLayoutDesc<'a>
Source§fn cmp(&self, other: &InputLayoutDesc<'a>) -> Ordering
fn cmp(&self, other: &InputLayoutDesc<'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 InputLayoutDesc<'a>
impl<'a> PartialEq for InputLayoutDesc<'a>
Source§impl<'a> PartialOrd for InputLayoutDesc<'a>
impl<'a> PartialOrd for InputLayoutDesc<'a>
impl<'a> Eq for InputLayoutDesc<'a>
impl<'a> StructuralPartialEq for InputLayoutDesc<'a>
Auto Trait Implementations§
impl<'a> Freeze for InputLayoutDesc<'a>
impl<'a> RefUnwindSafe for InputLayoutDesc<'a>
impl<'a> !Send for InputLayoutDesc<'a>
impl<'a> !Sync for InputLayoutDesc<'a>
impl<'a> Unpin for InputLayoutDesc<'a>
impl<'a> UnwindSafe for InputLayoutDesc<'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