pub struct VertexDeclaration(/* private fields */);Expand description
[docs.microsoft.com] Describes the layout of the contents of a VertexBuffer
Trait Implementations§
Source§impl Clone for VertexDeclaration
impl Clone for VertexDeclaration
Source§fn clone(&self) -> VertexDeclaration
fn clone(&self) -> VertexDeclaration
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 From<&Rc<IDirect3DVertexDeclaration9>> for &VertexDeclaration
impl From<&Rc<IDirect3DVertexDeclaration9>> for &VertexDeclaration
Source§fn from(value: &Rc<IDirect3DVertexDeclaration9>) -> Self
fn from(value: &Rc<IDirect3DVertexDeclaration9>) -> Self
Converts to this type from the input type.
Source§impl From<&VertexDeclaration> for &Rc<IDirect3DVertexDeclaration9>
impl From<&VertexDeclaration> for &Rc<IDirect3DVertexDeclaration9>
Source§fn from(value: &VertexDeclaration) -> Self
fn from(value: &VertexDeclaration) -> Self
Converts to this type from the input type.
Source§impl From<Rc<IDirect3DVertexDeclaration9>> for VertexDeclaration
impl From<Rc<IDirect3DVertexDeclaration9>> for VertexDeclaration
Source§fn from(value: Rc<IDirect3DVertexDeclaration9>) -> Self
fn from(value: Rc<IDirect3DVertexDeclaration9>) -> Self
Converts to this type from the input type.
Source§impl From<VertexDeclaration> for Rc<IDirect3DVertexDeclaration9>
impl From<VertexDeclaration> for Rc<IDirect3DVertexDeclaration9>
Source§fn from(value: VertexDeclaration) -> Self
fn from(value: VertexDeclaration) -> Self
Converts to this type from the input type.
Source§impl Raw for VertexDeclaration
impl Raw for VertexDeclaration
Auto Trait Implementations§
impl Freeze for VertexDeclaration
impl RefUnwindSafe for VertexDeclaration
impl !Send for VertexDeclaration
impl !Sync for VertexDeclaration
impl Unpin for VertexDeclaration
impl UnwindSafe for VertexDeclaration
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IDirect3DVertexDeclaration9Ext for Twhere
T: AsSafe<IDirect3DVertexDeclaration9>,
impl<T> IDirect3DVertexDeclaration9Ext for Twhere
T: AsSafe<IDirect3DVertexDeclaration9>,
Source§fn get_declaration_size(&self) -> Result<u32, MethodError>
fn get_declaration_size(&self) -> Result<u32, MethodError>
[docs.microsoft.com]
IDirect3DVertexDeclaration9::GetDeclaration Read more
Source§fn get_declaration_inplace<'e>(
&self,
elements: &'e mut [VertexElement],
) -> Result<&'e [VertexElement], MethodError>
fn get_declaration_inplace<'e>( &self, elements: &'e mut [VertexElement], ) -> Result<&'e [VertexElement], MethodError>
[docs.microsoft.com]
IDirect3DVertexDeclaration9::GetDeclaration Read more
Source§fn get_declaration(&self) -> Result<Vec<VertexElement>, MethodError>
fn get_declaration(&self) -> Result<Vec<VertexElement>, MethodError>
[docs.microsoft.com]
IDirect3DVertexDeclaration9::GetDeclaration Read more
Source§fn get_device(&self) -> Result<Device, MethodError>
fn get_device(&self) -> Result<Device, MethodError>
[docs.microsoft.com]
IDirect3DVertexDeclaration9::GetDevice Read more