#[non_exhaustive]pub struct TilePartPoly {
pub poly: u32,
pub next: i32,
}Expand description
A TilePartPoly of the extra section (8 bytes).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.poly: u32Polygon index.
next: i32Index of the next entry of the same part, or -1.
Trait Implementations§
Source§impl Clone for TilePartPoly
impl Clone for TilePartPoly
Source§fn clone(&self) -> TilePartPoly
fn clone(&self) -> TilePartPoly
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TilePartPoly
impl Debug for TilePartPoly
Source§impl Default for TilePartPoly
impl Default for TilePartPoly
Source§fn default() -> TilePartPoly
fn default() -> TilePartPoly
Returns the “default value” for a type. Read more
Source§impl PartialEq for TilePartPoly
impl PartialEq for TilePartPoly
impl StructuralPartialEq for TilePartPoly
Auto Trait Implementations§
impl Freeze for TilePartPoly
impl RefUnwindSafe for TilePartPoly
impl Send for TilePartPoly
impl Sync for TilePartPoly
impl Unpin for TilePartPoly
impl UnsafeUnpin for TilePartPoly
impl UnwindSafe for TilePartPoly
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().