Struct swc::SwcComments[][src]

pub struct SwcComments {
    pub leading: Arc<DashMap<BytePos, Vec<Comment>, RandomState>>,
    pub trailing: Arc<DashMap<BytePos, Vec<Comment>, RandomState>>,

Multi-threaded implementation of Comments


leading: Arc<DashMap<BytePos, Vec<Comment>, RandomState>>trailing: Arc<DashMap<BytePos, Vec<Comment>, RandomState>>

Trait Implementations

impl Clone for SwcComments[src]

impl Comments for SwcComments[src]

impl Default for SwcComments[src]

Auto Trait Implementations

impl !RefUnwindSafe for SwcComments

impl Send for SwcComments

impl Sync for SwcComments

impl Unpin for SwcComments

impl !UnwindSafe for SwcComments

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

impl<C> CommentsExt for C where
    C: Comments

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 

impl<T> Node for T where
    T: Any + ?Sized

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.