pub struct Inline { /* private fields */ }Expand description
A semantic inline and its span in the original source.
Implementations§
Source§impl Inline
impl Inline
Sourcepub fn kind(&self) -> &InlineKind
pub fn kind(&self) -> &InlineKind
Returns the inline’s semantic content.
Sourcepub const fn span(&self) -> SourceSpan
pub const fn span(&self) -> SourceSpan
Returns the inline’s source span.
Trait Implementations§
impl Eq for Inline
impl StructuralPartialEq for Inline
Auto Trait Implementations§
impl Forget for Inline
impl Freeze for Inline
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnsafeUnpin for Inline
impl UnwindSafe for Inline
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