pub enum FrameHoleKind {
Ref,
Term,
Choice,
Path,
Number,
Prose,
}Expand description
Hole kind for a typed BRIDGE frame slot.
Variants§
Ref
A reference to another packet part or external object.
Term
A symbolic term.
Choice
A closed choice token.
Path
A structured path.
Number
A numeric value.
Prose
Prose data that must be rendered through a fence.
Implementations§
Source§impl FrameHoleKind
impl FrameHoleKind
Sourcepub fn shape_expr(self) -> Expr
pub fn shape_expr(self) -> Expr
Shape descriptor for values accepted by this hole kind.
Trait Implementations§
Source§impl Clone for FrameHoleKind
impl Clone for FrameHoleKind
Source§fn clone(&self) -> FrameHoleKind
fn clone(&self) -> FrameHoleKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FrameHoleKind
Source§impl Debug for FrameHoleKind
impl Debug for FrameHoleKind
impl Eq for FrameHoleKind
Source§impl PartialEq for FrameHoleKind
impl PartialEq for FrameHoleKind
impl StructuralPartialEq for FrameHoleKind
Auto Trait Implementations§
impl Freeze for FrameHoleKind
impl RefUnwindSafe for FrameHoleKind
impl Send for FrameHoleKind
impl Sync for FrameHoleKind
impl Unpin for FrameHoleKind
impl UnsafeUnpin for FrameHoleKind
impl UnwindSafe for FrameHoleKind
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