Struct prost_build::Comments
source · [−]pub struct Comments {
pub leading_detached: Vec<Vec<String>>,
pub leading: Vec<String>,
pub trailing: Vec<String>,
}
Expand description
Comments on a Protobuf item.
Fields
leading_detached: Vec<Vec<String>>
Leading detached blocks of comments.
leading: Vec<String>
Leading comments.
trailing: Vec<String>
Trailing comments.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Comments
impl Send for Comments
impl Sync for Comments
impl Unpin for Comments
impl UnwindSafe for Comments
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more