pub struct NowDocNode {
pub label: CompactString,
pub value: CompactString,
}Fields§
§label: CompactString§value: CompactStringImplementations§
Source§impl NowDocNode
impl NowDocNode
pub fn make(label: CompactString, value: CompactString) -> Box<Node>
pub fn loc( label: CompactString, value: CompactString, loc: Option<RangeLocation>, ) -> Box<Node>
Trait Implementations§
Source§impl Clone for NowDocNode
impl Clone for NowDocNode
Source§fn clone(&self) -> NowDocNode
fn clone(&self) -> NowDocNode
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 NowDocNode
impl Debug for NowDocNode
Source§impl<'de> Deserialize<'de> for NowDocNode
impl<'de> Deserialize<'de> for NowDocNode
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 NowDocNode
impl PartialEq for NowDocNode
Source§impl Serialize for NowDocNode
impl Serialize for NowDocNode
impl StructuralPartialEq for NowDocNode
Auto Trait Implementations§
impl Freeze for NowDocNode
impl RefUnwindSafe for NowDocNode
impl Send for NowDocNode
impl Sync for NowDocNode
impl Unpin for NowDocNode
impl UnwindSafe for NowDocNode
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