pub struct SeatModel {
pub name: Ident,
pub ty: Type,
}Expand description
ONE BROADCAST SEAT — the head’s shared(<name>(type = "…")).
The name and the type are the whole of it, and they answer two different parties: the NAME is
what an arm writes shared against, and the TYPE is what a caller of the whole recipe hands
over once.
Fields§
§name: IdentThe seat’s name, as the head wrote it — the word an arm’s shared is resolved against.
ty: TypeWhat a caller hands this seat, as the word named it.
A TYPE and never a kind: a seat is a question a caller asks, and this framework’s questions are the application’s own types.
Trait Implementations§
Auto Trait Implementations§
impl !Send for SeatModel
impl !Sync for SeatModel
impl Freeze for SeatModel
impl RefUnwindSafe for SeatModel
impl Unpin for SeatModel
impl UnsafeUnpin for SeatModel
impl UnwindSafe for SeatModel
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