pub struct PoiDef {
pub id: String,
pub position: [f32; 3],
pub interaction_radius: f32,
pub property_tag: String,
pub animation_binding: Option<String>,
pub transition_target: Option<TransitionTarget>,
}Fields§
§id: String§position: [f32; 3]§interaction_radius: f32§property_tag: String§animation_binding: Option<String>§transition_target: Option<TransitionTarget>Trait Implementations§
Source§impl<'de> Deserialize<'de> for PoiDef
impl<'de> Deserialize<'de> for PoiDef
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 PoiDef
impl RefUnwindSafe for PoiDef
impl Send for PoiDef
impl Sync for PoiDef
impl Unpin for PoiDef
impl UnsafeUnpin for PoiDef
impl UnwindSafe for PoiDef
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