pub struct MdxExpression {
pub meta: NodeMeta,
pub value: String,
}Expand description
A block-level 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 MdxExpression
impl Clone for MdxExpression
Source§fn clone(&self) -> MdxExpression
fn clone(&self) -> MdxExpression
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 MdxExpression
impl Debug for MdxExpression
impl Eq for MdxExpression
Source§impl From<MdxExpression> for Block
impl From<MdxExpression> for Block
Source§fn from(node: MdxExpression) -> Self
fn from(node: MdxExpression) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MdxExpression
impl PartialEq for MdxExpression
Source§fn eq(&self, other: &MdxExpression) -> bool
fn eq(&self, other: &MdxExpression) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MdxExpression
Auto Trait Implementations§
impl Freeze for MdxExpression
impl RefUnwindSafe for MdxExpression
impl Send for MdxExpression
impl Sync for MdxExpression
impl Unpin for MdxExpression
impl UnsafeUnpin for MdxExpression
impl UnwindSafe for MdxExpression
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