pub struct Theorem(/* private fields */);Expand description
THEOREM, LEMMA, PROPOSITION, COROLLARY.
Implementations§
Trait Implementations§
Source§impl AstNode for Theorem
impl AstNode for Theorem
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
impl Eq for Theorem
impl StructuralPartialEq for Theorem
Auto Trait Implementations§
impl !RefUnwindSafe for Theorem
impl !Send for Theorem
impl !Sync for Theorem
impl !UnwindSafe for Theorem
impl Forget for Theorem
impl Freeze for Theorem
impl Move for Theorem
impl Unpin for Theorem
impl UnsafeUnpin for Theorem
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