pub struct CommentCmd {
pub text: String,
}Expand description
Line Type 0 comment.
Fields§
§text: StringComment content, excluding the command identififer 0 and the optional comment marker //.
Implementations§
Source§impl CommentCmd
impl CommentCmd
pub fn new(text: &str) -> CommentCmd
Trait Implementations§
Source§impl Debug for CommentCmd
impl Debug for CommentCmd
Source§impl PartialEq for CommentCmd
impl PartialEq for CommentCmd
impl StructuralPartialEq for CommentCmd
Auto Trait Implementations§
impl Freeze for CommentCmd
impl RefUnwindSafe for CommentCmd
impl Send for CommentCmd
impl Sync for CommentCmd
impl Unpin for CommentCmd
impl UnwindSafe for CommentCmd
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