pub struct TravelResult {
pub manifest_text: String,
pub asset_base: PathBuf,
pub asset_base_url: Option<String>,
}Expand description
A resolved world: its manifest text + where its assets resolve.
Fields§
§manifest_text: String§asset_base: PathBufLocal base for relative asset URIs (a local world.json dir), or the cache
dir for a hosted world.
asset_base_url: Option<String>Base URL for relative asset URIs when the world is hosted (its directory URL),
so meshes/x.glb fetches from the right place. None for a local world.
Auto Trait Implementations§
impl Freeze for TravelResult
impl RefUnwindSafe for TravelResult
impl Send for TravelResult
impl Sync for TravelResult
impl Unpin for TravelResult
impl UnsafeUnpin for TravelResult
impl UnwindSafe for TravelResult
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