pub struct FGTiles {
pub tileset: String,
}Expand description
The tilesets used in the Level’s foreground.
Fields§
§tileset: StringThe tileset. Seems to always be “Scenery,” but this may change.
Trait Implementations§
Source§impl BinElType for FGTiles
impl BinElType for FGTiles
Source§fn from_binel(binel: BinElValue) -> Result<Self>
fn from_binel(binel: BinElValue) -> Result<Self>
Deserialize self from a BinElValue.
Source§fn into_binel(self) -> BinElValue
fn into_binel(self) -> BinElValue
Serialize self into a BinElValue. Can never fail.
Source§fn maybe_attr() -> bool
fn maybe_attr() -> bool
Whether the
BinElType may serialize to a BinElValue::Attribute. Recommended.Source§fn elem_name() -> Option<&'static str>
fn elem_name() -> Option<&'static str>
If there is a single valid name when deserializing from an element, and you know it at
compile-time, implement this. Recommended.
Source§fn maybe_elem() -> bool
fn maybe_elem() -> bool
Whether the
BinElType may serialize to a BinElValue::Element. Recommended.impl StructuralPartialEq for FGTiles
Auto Trait Implementations§
impl Freeze for FGTiles
impl RefUnwindSafe for FGTiles
impl Send for FGTiles
impl Sync for FGTiles
impl Unpin for FGTiles
impl UnsafeUnpin for FGTiles
impl UnwindSafe for FGTiles
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> 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