Struct pgn_reader::RawComment
source · pub struct RawComment<'a>(pub &'a [u8]);
Expand description
A comment, excluding the braces.
Tuple Fields§
§0: &'a [u8]
Implementations§
source§impl<'a> RawComment<'a>
impl<'a> RawComment<'a>
Trait Implementations§
source§impl<'a> Clone for RawComment<'a>
impl<'a> Clone for RawComment<'a>
source§fn clone(&self) -> RawComment<'a>
fn clone(&self) -> RawComment<'a>
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<'a> Debug for RawComment<'a>
impl<'a> Debug for RawComment<'a>
source§impl<'a> PartialEq<RawComment<'a>> for RawComment<'a>
impl<'a> PartialEq<RawComment<'a>> for RawComment<'a>
source§fn eq(&self, other: &RawComment<'a>) -> bool
fn eq(&self, other: &RawComment<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.