pub struct MapData {
pub height: u8,
pub attr_opcode: u8,
pub settings: u8,
pub overlay_id: i8,
pub overlay_path: u8,
pub overlay_rotation: u8,
pub underlay_id: u8,
}Fields§
§height: u8§attr_opcode: u8§settings: u8§overlay_id: i8§overlay_path: u8§overlay_rotation: u8§underlay_id: u8Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapData
impl<'de> Deserialize<'de> for MapData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for MapData
impl Ord for MapData
Source§impl PartialOrd for MapData
impl PartialOrd for MapData
impl Eq for MapData
impl StructuralPartialEq for MapData
Auto Trait Implementations§
impl Freeze for MapData
impl RefUnwindSafe for MapData
impl Send for MapData
impl Sync for MapData
impl Unpin for MapData
impl UnwindSafe for MapData
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