pub struct Punctuated {
pub text: String,
pub defers_ending: bool,
}Expand description
One segment’s text, ready to type after the text before it.
Fields§
§text: StringOpens with the mark the segment before held back.
defers_ending: booltext’s own closing mark is held back. Type text with nothing
after it, so the mark can still attach.
Trait Implementations§
Source§impl Clone for Punctuated
impl Clone for Punctuated
Source§impl Debug for Punctuated
impl Debug for Punctuated
impl Eq for Punctuated
Source§impl PartialEq for Punctuated
impl PartialEq for Punctuated
impl StructuralPartialEq for Punctuated
Auto Trait Implementations§
impl Freeze for Punctuated
impl RefUnwindSafe for Punctuated
impl Send for Punctuated
impl Sync for Punctuated
impl Unpin for Punctuated
impl UnsafeUnpin for Punctuated
impl UnwindSafe for Punctuated
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