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