pub struct FrontierMenu {
pub slots: Vec<(String, Expr)>,
pub heads: Expr,
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.
grammar: StringGrammar lowered from the same flat OneOf.
Auto Trait Implementations§
impl Freeze for FrontierMenu
impl RefUnwindSafe for FrontierMenu
impl Send for FrontierMenu
impl Sync for FrontierMenu
impl Unpin for FrontierMenu
impl UnsafeUnpin for FrontierMenu
impl UnwindSafe 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