pub struct MdxExpressionInline {
pub meta: NodeMeta,
pub value: String,
}Expand description
An inline MDX expression: { … } (distinct from directives).
Fields§
§meta: NodeMetaNode metadata (source span).
value: StringThe literal expression source (between the braces).
Trait Implementations§
Source§impl Clone for MdxExpressionInline
impl Clone for MdxExpressionInline
Source§fn clone(&self) -> MdxExpressionInline
fn clone(&self) -> MdxExpressionInline
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 MdxExpressionInline
impl Debug for MdxExpressionInline
impl Eq for MdxExpressionInline
Source§impl From<MdxExpressionInline> for Inline
impl From<MdxExpressionInline> for Inline
Source§fn from(node: MdxExpressionInline) -> Self
fn from(node: MdxExpressionInline) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MdxExpressionInline
impl PartialEq for MdxExpressionInline
Source§fn eq(&self, other: &MdxExpressionInline) -> bool
fn eq(&self, other: &MdxExpressionInline) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MdxExpressionInline
Auto Trait Implementations§
impl Freeze for MdxExpressionInline
impl RefUnwindSafe for MdxExpressionInline
impl Send for MdxExpressionInline
impl Sync for MdxExpressionInline
impl Unpin for MdxExpressionInline
impl UnsafeUnpin for MdxExpressionInline
impl UnwindSafe for MdxExpressionInline
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