pub struct PixelSegmentUnpacked {
pub layer_id: u32,
pub tile_x: i16,
pub tile_y: i16,
pub local_x: u8,
pub local_y: u8,
pub double_area: i16,
pub cover: i8,
}
Fields§
§layer_id: u32
§tile_x: i16
§tile_y: i16
§local_x: u8
§local_y: u8
§double_area: i16
§cover: i8
Trait Implementations§
Source§impl Debug for PixelSegmentUnpacked
impl Debug for PixelSegmentUnpacked
Source§impl<const TW: usize, const TH: usize> From<PixelSegment<TW, TH>> for PixelSegmentUnpacked
impl<const TW: usize, const TH: usize> From<PixelSegment<TW, TH>> for PixelSegmentUnpacked
Source§fn from(value: PixelSegment<TW, TH>) -> Self
fn from(value: PixelSegment<TW, TH>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PixelSegmentUnpacked
impl RefUnwindSafe for PixelSegmentUnpacked
impl Send for PixelSegmentUnpacked
impl Sync for PixelSegmentUnpacked
impl Unpin for PixelSegmentUnpacked
impl UnwindSafe for PixelSegmentUnpacked
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