pub struct YamlEmbeddedCst { /* private fields */ }Implementations§
Source§impl YamlEmbeddedCst
impl YamlEmbeddedCst
pub fn host_kind(&self) -> YamlEmbeddingHostKind
pub fn host_node(&self) -> &SyntaxNode
pub fn frontmatter_host(&self) -> Option<&YamlMetadata>
pub fn hashpipe_host(&self) -> Option<&HashpipeYamlPreamble>
pub fn parsed(&self) -> &ParsedYamlRegion
pub fn yaml_content(&self) -> &str
pub fn host_offset_for_yaml_offset(&self, yaml_offset: usize) -> Option<usize>
Trait Implementations§
Source§impl Clone for YamlEmbeddedCst
impl Clone for YamlEmbeddedCst
Source§fn clone(&self) -> YamlEmbeddedCst
fn clone(&self) -> YamlEmbeddedCst
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for YamlEmbeddedCst
impl !RefUnwindSafe for YamlEmbeddedCst
impl !Send for YamlEmbeddedCst
impl !Sync for YamlEmbeddedCst
impl Unpin for YamlEmbeddedCst
impl UnsafeUnpin for YamlEmbeddedCst
impl !UnwindSafe for YamlEmbeddedCst
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