pub struct FrontierMenu {
pub slots: Vec<(String, Expr)>,
pub heads: Expr,
pub head_shape: Arc<dyn Shape>,
pub grammar: String,
}Expand description
Legal next heads plus in-scope slot shapes for a BRIDGE packet.
Fields§
§slots: Vec<(String, Expr)>Slot id to shape descriptor.
heads: ExprFlat OneOf descriptor for legal next move heads.
head_shape: Arc<dyn Shape>Shape object backing the legal next move heads.
grammar: StringGrammar lowered from the same flat OneOf.
Auto Trait Implementations§
impl !RefUnwindSafe for FrontierMenu
impl !UnwindSafe for FrontierMenu
impl Freeze for FrontierMenu
impl Send for FrontierMenu
impl Sync for FrontierMenu
impl Unpin for FrontierMenu
impl UnsafeUnpin for FrontierMenu
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