pub struct LightmapPackerFaceView<'a> {
pub lm_info: &'a LightmapInfo,
pub bsp: &'a BspData,
pub face_idx: usize,
pub face: &'a BspFace,
pub tex_info: &'a BspTexInfo,
pub lighting: &'a BspLighting,
}Expand description
Information provided to read a lightmap from a face.
Fields§
§lm_info: &'a LightmapInfo§bsp: &'a BspData§face_idx: usize§face: &'a BspFaceShortcut for bsp.faces[face_idx].
tex_info: &'a BspTexInfoShortcut for bsp.tex_info[bsp.faces[face_idx].texture_info_idx].
lighting: &'a BspLightingShortcut for bsp.lighting since it’s guaranteed to be Some.
Trait Implementations§
Source§impl<'a> Clone for LightmapPackerFaceView<'a>
impl<'a> Clone for LightmapPackerFaceView<'a>
Source§fn clone(&self) -> LightmapPackerFaceView<'a>
fn clone(&self) -> LightmapPackerFaceView<'a>
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 moreimpl<'a> Copy for LightmapPackerFaceView<'a>
Auto Trait Implementations§
impl<'a> Freeze for LightmapPackerFaceView<'a>
impl<'a> RefUnwindSafe for LightmapPackerFaceView<'a>
impl<'a> Send for LightmapPackerFaceView<'a>
impl<'a> Sync for LightmapPackerFaceView<'a>
impl<'a> Unpin for LightmapPackerFaceView<'a>
impl<'a> UnwindSafe for LightmapPackerFaceView<'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