pub struct SharedBinding {
pub seat: Ident,
pub bridge: SharedBridge,
}Expand description
WHERE AN ARM’S QUESTION COMES FROM when the recipe was asked once — the resolved shared word.
Two halves, because the word decides two things: WHICH seat feeds this arm, and HOW the seat’s type becomes the tower’s question.
Fields§
§seat: IdentThe head seat this arm reads, resolved from the declaration’s OWN tokens.
By NAME where a seat of the arm’s name exists, and the SOLE seat where a recipe declared
exactly one — the resource axis’s own sole-default law, one layer up. It is a resolution and
not a derivation: both halves are written in this declaration, so nothing here reaches past
the expansion wall, and a shared that matches no seat is refused rather than resolved.
bridge: SharedBridgeHOW the seat’s type becomes this tower’s question.
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