pub struct TheoryBlock {
pub name: String,
pub body: String,
}Expand description
A ## Theory block: a named development that groups the axioms and theorems that
follow it (## Theory Tarski). Its body is the formal development text — a sequence of
Axiom … and Theorem … declarations parsed downstream.
Fields§
§name: StringThe theory’s name (Tarski).
body: StringThe development body as surface text: Axiom … / Theorem … declarations, parsed
downstream by the formal-development parser. Empty when the theory is just a header
grouping standalone ## Axiom / ## Theorem blocks.
Trait Implementations§
Source§impl Clone for TheoryBlock
impl Clone for TheoryBlock
Source§fn clone(&self) -> TheoryBlock
fn clone(&self) -> TheoryBlock
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 moreSource§impl Debug for TheoryBlock
impl Debug for TheoryBlock
Source§impl PartialEq for TheoryBlock
impl PartialEq for TheoryBlock
Source§fn eq(&self, other: &TheoryBlock) -> bool
fn eq(&self, other: &TheoryBlock) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for TheoryBlock
impl StructuralPartialEq for TheoryBlock
Auto Trait Implementations§
impl Freeze for TheoryBlock
impl RefUnwindSafe for TheoryBlock
impl Send for TheoryBlock
impl Sync for TheoryBlock
impl Unpin for TheoryBlock
impl UnsafeUnpin for TheoryBlock
impl UnwindSafe for TheoryBlock
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