pub struct SessionLink {
pub url: String,
pub rect: [f32; 4],
}Expand description
A link the session exposes for the host’s hit table: url + viewport-space
rect ([x, y, w, h], the shape the lanes already emit).
Fields§
§url: String§rect: [f32; 4]Trait Implementations§
Source§impl Clone for SessionLink
impl Clone for SessionLink
Source§impl Debug for SessionLink
impl Debug for SessionLink
Source§impl<'de> Deserialize<'de> for SessionLink
impl<'de> Deserialize<'de> for SessionLink
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 PartialEq for SessionLink
impl PartialEq for SessionLink
Source§impl Serialize for SessionLink
impl Serialize for SessionLink
impl StructuralPartialEq for SessionLink
Auto Trait Implementations§
impl Forget for SessionLink
impl Freeze for SessionLink
impl RefUnwindSafe for SessionLink
impl Send for SessionLink
impl Sync for SessionLink
impl Unpin for SessionLink
impl UnsafeUnpin for SessionLink
impl UnwindSafe for SessionLink
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