pub struct PubLine {
pub tag: char,
pub text: Rc<String>,
}Expand description
Fields§
§tag: charThe tag set on the line
See [Line.tag], but note that we disconnect the shared tag state through
history by converting into this.
text: Rc<String>The text data for the line
See [Line.text].
Trait Implementations§
source§impl PartialEq<PubLine> for PubLine
impl PartialEq<PubLine> for PubLine
impl Eq for PubLine
impl StructuralEq for PubLine
impl StructuralPartialEq for PubLine
Auto Trait Implementations§
impl RefUnwindSafe for PubLine
impl !Send for PubLine
impl !Sync for PubLine
impl Unpin for PubLine
impl UnwindSafe for PubLine
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