Struct lu_formats::files::lvl::RenderAttr
source · pub struct RenderAttr<'a> {
pub name: Cow<'a, [u8]>,
pub num_floats: u32,
pub is_color: Bool,
pub floats: Vec<f32>,
}
Expand description
Fields§
§name: Cow<'a, [u8]>
Size: 64
Encoding: ascii
num_floats: u32
§is_color: Bool
§floats: Vec<f32>
Repeat-Expr: 4
Trait Implementations§
source§impl<'a> Clone for RenderAttr<'a>
impl<'a> Clone for RenderAttr<'a>
source§fn clone(&self) -> RenderAttr<'a>
fn clone(&self) -> RenderAttr<'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 RenderAttr<'a>
impl<'a> Debug for RenderAttr<'a>
source§impl<'de, 'a> Deserialize<'de> for RenderAttr<'a>
impl<'de, 'a> Deserialize<'de> for RenderAttr<'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<RenderAttr<'a>> for RenderAttr<'a>
impl<'a> PartialEq<RenderAttr<'a>> for RenderAttr<'a>
source§fn eq(&self, other: &RenderAttr<'a>) -> bool
fn eq(&self, other: &RenderAttr<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for RenderAttr<'a>
impl<'a> Serialize for RenderAttr<'a>
impl<'a> StructuralPartialEq for RenderAttr<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RenderAttr<'a>
impl<'a> Send for RenderAttr<'a>
impl<'a> Sync for RenderAttr<'a>
impl<'a> Unpin for RenderAttr<'a>
impl<'a> UnwindSafe for RenderAttr<'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