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