pub struct SceneHeading { /* private fields */ }Implementations§
Source§impl SceneHeading
impl SceneHeading
Sourcepub fn title(&self) -> Option<SceneTitle>
pub fn title(&self) -> Option<SceneTitle>
The title run — the scene’s display name (§3.3).
Sourcepub fn slug(&self) -> Option<SceneSlug>
pub fn slug(&self) -> Option<SceneSlug>
The explicit [slug], if the heading spells its address (§8b.3).
None means the address is inferred from the title, which makes
the title load-bearing for DefinitionId (§3.3’s save-key note).
Trailing #tags — container-level per-flow tags (§8b.4).
Trait Implementations§
Source§impl AstNode for SceneHeading
impl AstNode for SceneHeading
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true for a node with a SyntaxKind this type can wrap.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for SceneHeading
impl Clone for SceneHeading
Source§fn clone(&self) -> SceneHeading
fn clone(&self) -> SceneHeading
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 SceneHeading
impl Debug for SceneHeading
Source§impl Display for SceneHeading
impl Display for SceneHeading
impl Eq for SceneHeading
Source§impl Hash for SceneHeading
impl Hash for SceneHeading
Source§impl PartialEq for SceneHeading
impl PartialEq for SceneHeading
impl StructuralPartialEq for SceneHeading
Auto Trait Implementations§
impl !RefUnwindSafe for SceneHeading
impl !Send for SceneHeading
impl !Sync for SceneHeading
impl !UnwindSafe for SceneHeading
impl Freeze for SceneHeading
impl Unpin for SceneHeading
impl UnsafeUnpin for SceneHeading
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