pub struct AddDocCommentOp {
pub target_type: String,
pub name: String,
pub doc_comment: String,
pub style: DocCommentStyle,
}Expand description
Add documentation comment to an item
Fields§
§target_type: String§name: String§doc_comment: String§style: DocCommentStyleTrait Implementations§
Source§impl Clone for AddDocCommentOp
impl Clone for AddDocCommentOp
Source§fn clone(&self) -> AddDocCommentOp
fn clone(&self) -> AddDocCommentOp
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddDocCommentOp
impl Debug for AddDocCommentOp
Source§impl<'de> Deserialize<'de> for AddDocCommentOp
impl<'de> Deserialize<'de> for AddDocCommentOp
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AddDocCommentOp
impl RefUnwindSafe for AddDocCommentOp
impl Send for AddDocCommentOp
impl Sync for AddDocCommentOp
impl Unpin for AddDocCommentOp
impl UnsafeUnpin for AddDocCommentOp
impl UnwindSafe for AddDocCommentOp
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