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 Freeze for Comments
impl RefUnwindSafe for Comments
impl Send for Comments
impl Sync for Comments
impl Unpin for Comments
impl UnwindSafe for Comments
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