Struct lu_formats::files::lvl::RenderTechnique
source · pub struct RenderTechnique<'a> {
pub num_render_attrs: u32,
pub name: Option<Cow<'a, [u8]>>,
pub render_attrs: Vec<RenderAttr<'a>>,
}
Expand description
Fields§
§num_render_attrs: u32
§name: Option<Cow<'a, [u8]>>
If: num_render_attrs > 0
Size: 64
Encoding: ascii
render_attrs: Vec<RenderAttr<'a>>
Repeat-Expr: num_render_attrs
Trait Implementations§
source§impl<'a> Clone for RenderTechnique<'a>
impl<'a> Clone for RenderTechnique<'a>
source§fn clone(&self) -> RenderTechnique<'a>
fn clone(&self) -> RenderTechnique<'a>
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<'a> Debug for RenderTechnique<'a>
impl<'a> Debug for RenderTechnique<'a>
source§impl<'de, 'a> Deserialize<'de> for RenderTechnique<'a>
impl<'de, 'a> Deserialize<'de> for RenderTechnique<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> PartialEq<RenderTechnique<'a>> for RenderTechnique<'a>
impl<'a> PartialEq<RenderTechnique<'a>> for RenderTechnique<'a>
source§fn eq(&self, other: &RenderTechnique<'a>) -> bool
fn eq(&self, other: &RenderTechnique<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for RenderTechnique<'a>
impl<'a> Serialize for RenderTechnique<'a>
impl<'a> StructuralPartialEq for RenderTechnique<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RenderTechnique<'a>
impl<'a> Send for RenderTechnique<'a>
impl<'a> Sync for RenderTechnique<'a>
impl<'a> Unpin for RenderTechnique<'a>
impl<'a> UnwindSafe for RenderTechnique<'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