Struct swc_common::comments::SingleThreadedComments [−][src]
pub struct SingleThreadedComments { /* fields omitted */ }Expand description
Single-threaded storage for comments.
Implementations
Takes all the comments as (leading, trailing).
pub fn borrow_all<'a>(
&'a self
) -> (Ref<'a, SingleThreadedCommentsMapInner>, Ref<'a, SingleThreadedCommentsMapInner>)
pub fn borrow_all<'a>(
&'a self
) -> (Ref<'a, SingleThreadedCommentsMapInner>, Ref<'a, SingleThreadedCommentsMapInner>)Borrows all the comments as (leading, trailing).
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl !RefUnwindSafe for SingleThreadedCommentsimpl !Send for SingleThreadedCommentsimpl !Sync for SingleThreadedCommentsimpl Unpin for SingleThreadedCommentsimpl !UnwindSafe for SingleThreadedCommentsBlanket Implementations
Mutably borrows from an owned value. Read more