Struct deno_graph::FastCheckCacheModuleItemInfo
source · pub struct FastCheckCacheModuleItemInfo {
pub source_hash: u64,
pub module_info: String,
pub text: Arc<str>,
pub source_map: Arc<[u8]>,
}
Fields§
§source_hash: u64
§module_info: String
Serialized module_info as JSON because bincode (used in the CLI’s cache) doesn’t work well with the ModuleInfo since it makes heavy use of skip_serializing_if.
text: Arc<str>
§source_map: Arc<[u8]>
Trait Implementations§
source§impl Clone for FastCheckCacheModuleItemInfo
impl Clone for FastCheckCacheModuleItemInfo
source§fn clone(&self) -> FastCheckCacheModuleItemInfo
fn clone(&self) -> FastCheckCacheModuleItemInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FastCheckCacheModuleItemInfo
impl Debug for FastCheckCacheModuleItemInfo
source§impl<'de> Deserialize<'de> for FastCheckCacheModuleItemInfo
impl<'de> Deserialize<'de> for FastCheckCacheModuleItemInfo
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FastCheckCacheModuleItemInfo
impl PartialEq for FastCheckCacheModuleItemInfo
source§fn eq(&self, other: &FastCheckCacheModuleItemInfo) -> bool
fn eq(&self, other: &FastCheckCacheModuleItemInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for FastCheckCacheModuleItemInfo
impl StructuralPartialEq for FastCheckCacheModuleItemInfo
Auto Trait Implementations§
impl Freeze for FastCheckCacheModuleItemInfo
impl RefUnwindSafe for FastCheckCacheModuleItemInfo
impl Send for FastCheckCacheModuleItemInfo
impl Sync for FastCheckCacheModuleItemInfo
impl Unpin for FastCheckCacheModuleItemInfo
impl UnwindSafe for FastCheckCacheModuleItemInfo
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.