pub struct MapInfo {
pub scroll_x: i32,
pub name: String,
pub expanded: bool,
pub order: i32,
pub scroll_y: i32,
pub parent_id: i32,
}
Fields§
§scroll_x: i32
§name: String
§expanded: bool
§order: i32
§scroll_y: i32
§parent_id: i32
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MapInfo
impl<'de> Deserialize<'de> for MapInfo
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<'a> FromValue<'a> for MapInfo
impl<'a> FromValue<'a> for MapInfo
Source§fn from_value(
ctx: &FromValueContext<'_>,
value: &'a Value,
) -> Result<Self, FromValueError>
fn from_value( ctx: &FromValueContext<'_>, value: &'a Value, ) -> Result<Self, FromValueError>
Create this type from the given value from the [
ValueArena
]. Read moreAuto Trait Implementations§
impl Freeze for MapInfo
impl RefUnwindSafe for MapInfo
impl Send for MapInfo
impl Sync for MapInfo
impl Unpin for MapInfo
impl UnwindSafe for MapInfo
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