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: i8Trait 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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more