pub struct LineComment(pub AstStr);Expand description
Line comment
Tuple Fields§
§0: AstStrTrait Implementations§
Source§impl Clone for LineComment
impl Clone for LineComment
Source§fn clone(&self) -> LineComment
fn clone(&self) -> LineComment
Returns a duplicate 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 LineComment
impl Debug for LineComment
Source§impl<'de> Deserialize<'de> for LineComment
impl<'de> Deserialize<'de> for LineComment
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 LineComment
impl PartialEq for LineComment
Source§impl Serialize for LineComment
impl Serialize for LineComment
impl Eq for LineComment
impl StructuralPartialEq for LineComment
Auto Trait Implementations§
impl Freeze for LineComment
impl RefUnwindSafe for LineComment
impl !Send for LineComment
impl !Sync for LineComment
impl Unpin for LineComment
impl UnsafeUnpin for LineComment
impl UnwindSafe for LineComment
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