pub struct PortalNav {
pub id: String,
pub position: Vec3,
pub to: String,
pub label: String,
pub preview: bool,
pub yaw: f32,
}Expand description
A veil in the active world — a hyperlink you step through (renderer-agnostic).
Fields§
§id: String§position: Vec3§to: StringDestination Locator (thread://…).
label: String§preview: boolWhether the far side may be previewed (manifest preview policy;
none opts a veil out — an opaque doorway).
yaw: f32The doorway’s facing (yaw about Y), for window parallax.
Trait Implementations§
Auto Trait Implementations§
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