Struct nnsdk::ui2d::resources::ResPictureWithTex
source · #[repr(C)]pub struct ResPictureWithTex<const TEX_COORD_COUNT: usize> {
pub picture: ResPicture,
pub tex_coords: [[ResVec2; TEX_COORD_COUNT]; 4],
}
Fields§
§picture: ResPicture
§tex_coords: [[ResVec2; TEX_COORD_COUNT]; 4]
Methods from Deref<Target = ResPane>§
Trait Implementations§
source§impl<const TEX_COORD_COUNT: usize> Clone for ResPictureWithTex<TEX_COORD_COUNT>
impl<const TEX_COORD_COUNT: usize> Clone for ResPictureWithTex<TEX_COORD_COUNT>
source§fn clone(&self) -> ResPictureWithTex<TEX_COORD_COUNT>
fn clone(&self) -> ResPictureWithTex<TEX_COORD_COUNT>
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 more