pub struct InlineNode {
pub text: CompactString,
}Fields§
§text: CompactStringImplementations§
Source§impl InlineNode
impl InlineNode
pub fn make(text: CompactString) -> Box<Node>
pub fn loc(text: CompactString, loc: Option<RangeLocation>) -> Box<Node>
Trait Implementations§
Source§impl Clone for InlineNode
impl Clone for InlineNode
Source§fn clone(&self) -> InlineNode
fn clone(&self) -> InlineNode
Returns a copy 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 moreSource§impl Debug for InlineNode
impl Debug for InlineNode
Source§impl<'de> Deserialize<'de> for InlineNode
impl<'de> Deserialize<'de> for InlineNode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for InlineNode
impl PartialEq for InlineNode
Source§impl Serialize for InlineNode
impl Serialize for InlineNode
impl StructuralPartialEq for InlineNode
Auto Trait Implementations§
impl Freeze for InlineNode
impl RefUnwindSafe for InlineNode
impl Send for InlineNode
impl Sync for InlineNode
impl Unpin for InlineNode
impl UnwindSafe for InlineNode
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