pub struct Gestures {
pub step: Core,
pub init: Core,
pub schema: Schema,
}Expand description
What a client needs to fold its own gestures: the step, where to start, and what to decode.
Fields§
§step: Core(S, G) -> S.
init: CoreS before any gesture — and what the server rendered against (crate::render, B0522),
which is what makes hydration free for a page with interface state.
schema: SchemaThe gesture union, resolved to a decoder.
A second schema beside Bundle::command rather than a widening of it, and the
separation is the point: §3.5’s “the client’s entire write surface is send(cmd) into a
typed Command union” survives D30 only if a gesture cannot be decoded as a command. Two
decoders over two unions is what says so.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gestures
impl RefUnwindSafe for Gestures
impl Send for Gestures
impl Sync for Gestures
impl Unpin for Gestures
impl UnwindSafe for Gestures
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