Struct typst_syntax::ast::None
source · pub struct None<'a>(/* private fields */);
Expand description
The none
literal.
Trait Implementations§
source§impl<'a> AstNode<'a> for None<'a>
impl<'a> AstNode<'a> for None<'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> PartialEq for None<'a>
impl<'a> PartialEq for None<'a>
impl<'a> Copy for None<'a>
impl<'a> Eq for None<'a>
impl<'a> StructuralPartialEq for None<'a>
Auto Trait Implementations§
impl<'a> Freeze for None<'a>
impl<'a> RefUnwindSafe for None<'a>
impl<'a> Send for None<'a>
impl<'a> Sync for None<'a>
impl<'a> Unpin for None<'a>
impl<'a> UnwindSafe for None<'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