Struct ra_ap_sourcegen::CommentBlock
source · pub struct CommentBlock {
pub id: String,
pub line: usize,
pub contents: Vec<String>,
/* private fields */
}
Fields§
§id: String
§line: usize
§contents: Vec<String>
Implementations§
source§impl CommentBlock
impl CommentBlock
pub fn extract(tag: &str, text: &str) -> Vec<CommentBlock>
pub fn extract_untagged(text: &str) -> Vec<CommentBlock>
Trait Implementations§
source§impl Clone for CommentBlock
impl Clone for CommentBlock
source§fn clone(&self) -> CommentBlock
fn clone(&self) -> CommentBlock
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for CommentBlock
impl Send for CommentBlock
impl Sync for CommentBlock
impl Unpin for CommentBlock
impl UnwindSafe for CommentBlock
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