pub struct ModuleIdentifier(pub Rc<str>);
Expand description
An internal webpack identifier for the module. Guaranteed to uniquely identify it Docs say: “(webpack)\test\browsertest\lib\index.web.js”
Tuple Fields§
§0: Rc<str>
Trait Implementations§
Source§impl Clone for ModuleIdentifier
impl Clone for ModuleIdentifier
Source§impl Debug for ModuleIdentifier
impl Debug for ModuleIdentifier
Source§impl<'de> Deserialize<'de> for ModuleIdentifier
impl<'de> Deserialize<'de> for ModuleIdentifier
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 Display for ModuleIdentifier
impl Display for ModuleIdentifier
Source§impl<'a> Edges<ModuleIdentifier, (ImportType, ResolvedModule)> for Module<'a>
impl<'a> Edges<ModuleIdentifier, (ImportType, ResolvedModule)> for Module<'a>
fn next_edge( &self, previous_edge_index: Option<usize>, ) -> Option<Edge<ModuleIdentifier, (ImportType, ResolvedModule)>>
fn edges(&self) -> EdgeIterator<'_, I, D, Self>where
Self: Sized,
Source§impl Hash for ModuleIdentifier
impl Hash for ModuleIdentifier
Source§impl<'a> Identifiable<ModuleIdentifier> for Module<'a>
impl<'a> Identifiable<ModuleIdentifier> for Module<'a>
fn get_id(&self) -> ModuleIdentifier
Source§impl Ord for ModuleIdentifier
impl Ord for ModuleIdentifier
Source§fn cmp(&self, other: &ModuleIdentifier) -> Ordering
fn cmp(&self, other: &ModuleIdentifier) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ModuleIdentifier
impl PartialEq for ModuleIdentifier
Source§impl PartialOrd for ModuleIdentifier
impl PartialOrd for ModuleIdentifier
Source§impl<'a> Query<ModuleIdentifier, Module<'a>> for Modules<'a>
impl<'a> Query<ModuleIdentifier, Module<'a>> for Modules<'a>
fn query(&self, _identifier: &ModuleIdentifier) -> Option<&Module<'a>>
fn all(&self) -> Vec<&Module<'a>>
fn create_index( &self, ) -> HashMap<ModuleIdentifier, Link<'_, ModuleIdentifier, Module<'a>>>
Source§impl Serialize for ModuleIdentifier
impl Serialize for ModuleIdentifier
impl Eq for ModuleIdentifier
impl StructuralPartialEq for ModuleIdentifier
Auto Trait Implementations§
impl Freeze for ModuleIdentifier
impl RefUnwindSafe for ModuleIdentifier
impl !Send for ModuleIdentifier
impl !Sync for ModuleIdentifier
impl Unpin for ModuleIdentifier
impl UnwindSafe for ModuleIdentifier
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