pub struct ImageLink(/* private fields */);Implementations§
Source§impl ImageLink
impl ImageLink
Sourcepub fn reference(&self) -> Option<LinkRef>
pub fn reference(&self) -> Option<LinkRef>
Returns the reference label for reference-style images.
Sourcepub fn reference_label(&self) -> Option<String>
pub fn reference_label(&self) -> Option<String>
Returns the reference label text for reference-style images.
Sourcepub fn reference_label_range(&self) -> Option<TextRange>
pub fn reference_label_range(&self) -> Option<TextRange>
Returns the text range for the reference label in reference-style images.
Trait Implementations§
Source§impl AstNode for ImageLink
impl AstNode for ImageLink
type Language = PanacheLanguage
fn can_cast(kind: SyntaxKind) -> bool
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn clone_for_update(&self) -> Selfwhere
Self: Sized,
fn clone_subtree(&self) -> Selfwhere
Self: Sized,
Auto Trait Implementations§
impl Freeze for ImageLink
impl !RefUnwindSafe for ImageLink
impl !Send for ImageLink
impl !Sync for ImageLink
impl Unpin for ImageLink
impl UnsafeUnpin for ImageLink
impl !UnwindSafe for ImageLink
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