Struct typst_syntax::ast::ModuleInclude
source · pub struct ModuleInclude<'a>(/* private fields */);
Expand description
A module include: include "chapter1.typ"
.
Implementations§
Trait Implementations§
source§impl<'a> AstNode<'a> for ModuleInclude<'a>
impl<'a> AstNode<'a> for ModuleInclude<'a>
source§fn from_untyped(node: &'a SyntaxNode) -> Option<Self>
fn from_untyped(node: &'a SyntaxNode) -> Option<Self>
Convert a node into its typed variant.
source§fn to_untyped(self) -> &'a SyntaxNode
fn to_untyped(self) -> &'a SyntaxNode
A reference to the underlying syntax node.
source§impl<'a> Clone for ModuleInclude<'a>
impl<'a> Clone for ModuleInclude<'a>
source§fn clone(&self) -> ModuleInclude<'a>
fn clone(&self) -> ModuleInclude<'a>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'a> Debug for ModuleInclude<'a>
impl<'a> Debug for ModuleInclude<'a>
source§impl Default for ModuleInclude<'_>
impl Default for ModuleInclude<'_>
source§impl<'a> Hash for ModuleInclude<'a>
impl<'a> Hash for ModuleInclude<'a>
source§impl<'a> PartialEq for ModuleInclude<'a>
impl<'a> PartialEq for ModuleInclude<'a>
source§fn eq(&self, other: &ModuleInclude<'a>) -> bool
fn eq(&self, other: &ModuleInclude<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for ModuleInclude<'a>
impl<'a> Eq for ModuleInclude<'a>
impl<'a> StructuralPartialEq for ModuleInclude<'a>
Auto Trait Implementations§
impl<'a> Freeze for ModuleInclude<'a>
impl<'a> RefUnwindSafe for ModuleInclude<'a>
impl<'a> Send for ModuleInclude<'a>
impl<'a> Sync for ModuleInclude<'a>
impl<'a> Unpin for ModuleInclude<'a>
impl<'a> UnwindSafe for ModuleInclude<'a>
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