Struct swc_plugin_comments::CommentsVecPtr
source · [−]Expand description
A struct to exchance allocated Vec
Tuple Fields
0: i32
1: i32
Trait Implementations
sourceimpl Archive for CommentsVecPtr where
i32: Archive,
i32: Archive,
impl Archive for CommentsVecPtr where
i32: Archive,
i32: Archive,
sourceimpl<__D: Fallible + ?Sized> Deserialize<CommentsVecPtr, __D> for Archived<CommentsVecPtr> where
i32: Archive,
Archived<i32>: Deserialize<i32, __D>,
i32: Archive,
Archived<i32>: Deserialize<i32, __D>,
impl<__D: Fallible + ?Sized> Deserialize<CommentsVecPtr, __D> for Archived<CommentsVecPtr> where
i32: Archive,
Archived<i32>: Deserialize<i32, __D>,
i32: Archive,
Archived<i32>: Deserialize<i32, __D>,
sourcefn deserialize(
&self,
deserializer: &mut __D
) -> Result<CommentsVecPtr, __D::Error>
fn deserialize(
&self,
deserializer: &mut __D
) -> Result<CommentsVecPtr, __D::Error>
Deserializes using the given deserializer
Auto Trait Implementations
impl RefUnwindSafe for CommentsVecPtr
impl Send for CommentsVecPtr
impl Sync for CommentsVecPtr
impl Unpin for CommentsVecPtr
impl UnwindSafe for CommentsVecPtr
Blanket Implementations
sourceimpl<T> ArchivePointee for T
impl<T> ArchivePointee for T
type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
sourcefn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
fn pointer_metadata(
&<T as ArchivePointee>::ArchivedMetadata
) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
sourceimpl<T> ArchiveUnsized for T where
T: Archive,
impl<T> ArchiveUnsized for T where
T: Archive,
type Archived = <T as Archive>::Archived
type Archived = <T as Archive>::Archived
The archived counterpart of this type. Unlike Archive
, it may be unsized. Read more
type MetadataResolver = ()
type MetadataResolver = ()
The resolver for the metadata of this type. Read more
sourceunsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
unsafe fn resolve_metadata(
&self,
usize,
<T as ArchiveUnsized>::MetadataResolver,
*mut <<T as ArchiveUnsized>::Archived as ArchivePointee>::ArchivedMetadata
)
Creates the archived version of the metadata for this value at the given position and writes it to the given output. Read more
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