pub struct Clusters { /* private fields */ }
Expand description
Cluster comments together, such they appear as continuous text blocks.
Implementations§
Source§impl 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§
Auto Trait Implementations§
impl Freeze for Clusters
impl RefUnwindSafe for Clusters
impl Send for Clusters
impl Sync for Clusters
impl Unpin for Clusters
impl UnwindSafe for Clusters
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more