Struct prost_build::Comments [−][src]
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
Appends the comments to a buffer with indentation.
Each level of indentation corresponds to four space (’ ’) characters.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Commentsimpl UnwindSafe for Comments