pub struct DocProse {
pub text: String,
pub start: usize,
pub end: usize,
}Expand description
One doc comment as prose, with its first and last line.
Fields§
§text: String§start: usize§end: usizeTrait Implementations§
impl StructuralPartialEq for DocProse
Auto Trait Implementations§
impl Forget for DocProse
impl Freeze for DocProse
impl Move for DocProse
impl RefUnwindSafe for DocProse
impl Send for DocProse
impl Sync for DocProse
impl Unpin for DocProse
impl UnsafeUnpin for DocProse
impl UnwindSafe for DocProse
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