pub struct TileGroupObu<'a> {
pub obu: Obu<'a>,
pub tile_start_and_end_present_flag: bool,
pub tg_start: u32,
pub tg_end: u32,
pub tiles: Vec<Tile>,
}
Fields§
§obu: Obu<'a>
The OBU backing this tile group.
tile_start_and_end_present_flag: bool
Specifies whether tg_start and tg_end are present. If tg_start and tg_end are not present, this tile group covers the entire frame.
tg_start: u32
Specifies the zero-based index of the first tile in the current tile group.
tg_end: u32
Specifies the zero-based index of the last tile in the current tile group.
tiles: Vec<Tile>
Contains the tiles in this tile group. Use tile_offset
to index into
the OBU data.
The tiles in the Vec span from tg_start to tg_end.
Trait Implementations§
Source§impl<'a> Clone for TileGroupObu<'a>
impl<'a> Clone for TileGroupObu<'a>
Source§fn clone(&self) -> TileGroupObu<'a>
fn clone(&self) -> TileGroupObu<'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 moreSource§impl<'a> Debug for TileGroupObu<'a>
impl<'a> Debug for TileGroupObu<'a>
Source§impl<'a> Default for TileGroupObu<'a>
impl<'a> Default for TileGroupObu<'a>
Source§fn default() -> TileGroupObu<'a>
fn default() -> TileGroupObu<'a>
Returns the “default value” for a type. Read more
Source§impl<'a> PartialEq for TileGroupObu<'a>
impl<'a> PartialEq for TileGroupObu<'a>
impl<'a> Eq for TileGroupObu<'a>
impl<'a> StructuralPartialEq for TileGroupObu<'a>
Auto Trait Implementations§
impl<'a> Freeze for TileGroupObu<'a>
impl<'a> RefUnwindSafe for TileGroupObu<'a>
impl<'a> Send for TileGroupObu<'a>
impl<'a> Sync for TileGroupObu<'a>
impl<'a> Unpin for TileGroupObu<'a>
impl<'a> UnwindSafe for TileGroupObu<'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