pub enum BlockType {
Theorem,
Main,
Definition,
Proof,
Example,
Logic,
Note,
Function,
TypeDef,
Policy,
}Expand description
Document structure block type markers.
LOGOS uses markdown-style ## Header syntax to delimit different
sections of a program or proof document.
Variants§
Theorem
## Theorem - Declares a proposition to be proved.
Main
## Main - Program entry point for imperative code.
Definition
## Definition - Introduces new terminology or type definitions.
Proof
## Proof - Contains proof steps for a theorem.
Example
## Example - Illustrative examples.
Logic
## Logic - Direct logical notation input.
Note
## Note - Explanatory documentation.
Function
## To - Function definition block.
TypeDef
Inline type definition: ## A Point has: or ## A Color is one of:.
Policy
## Policy - Security policy rule definitions.
Trait Implementations§
impl Copy for BlockType
impl Eq for BlockType
impl StructuralPartialEq for BlockType
Auto Trait Implementations§
impl Freeze for BlockType
impl RefUnwindSafe for BlockType
impl Send for BlockType
impl Sync for BlockType
impl Unpin for BlockType
impl UnwindSafe for BlockType
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