pub struct MapIcon {
pub id: u32,
pub name: String,
pub appearance: Option<String>,
pub visible_in_item_frame: bool,
}
Fields§
§id: u32
§name: String
§appearance: Option<String>
§visible_in_item_frame: bool
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapIcon
impl<'de> Deserialize<'de> for MapIcon
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
Auto Trait Implementations§
impl Freeze for MapIcon
impl RefUnwindSafe for MapIcon
impl Send for MapIcon
impl Sync for MapIcon
impl Unpin for MapIcon
impl UnwindSafe for MapIcon
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