Struct doc_chunks::cluster::Clusters
source · [−]pub struct Clusters { /* private fields */ }Expand description
Cluster comments together, such they appear as continuous text blocks.
Implementations
sourceimpl Clusters
impl Clusters
sourcepub fn parse_token_tree(
&mut self,
source: &str,
stream: TokenStream
) -> Result<()>
pub fn parse_token_tree(
&mut self,
source: &str,
stream: TokenStream
) -> Result<()>
Helper function to parse a stream and associate the found literals.
Trait Implementations
sourceimpl From<Clusters> for Vec<CheckableChunk>
impl From<Clusters> for Vec<CheckableChunk>
Convert the clusters of one file into a source description as well as well as vector of checkable chunks.
Auto Trait Implementations
impl RefUnwindSafe for Clusters
impl Send for Clusters
impl Sync for Clusters
impl Unpin for Clusters
impl UnwindSafe for Clusters
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