pub struct FileModule {
pub id: String,
pub path: String,
}Expand description
The module a specifier names: the real path of its file and its identity,
a file: URL.
Fields§
§id: String§path: StringTrait Implementations§
Source§impl Clone for FileModule
impl Clone for FileModule
Source§fn clone(&self) -> FileModule
fn clone(&self) -> FileModule
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileModule
impl Debug for FileModule
impl Eq for FileModule
Source§impl PartialEq for FileModule
impl PartialEq for FileModule
impl StructuralPartialEq for FileModule
Auto Trait Implementations§
impl Freeze for FileModule
impl RefUnwindSafe for FileModule
impl Send for FileModule
impl Sync for FileModule
impl Unpin for FileModule
impl UnsafeUnpin for FileModule
impl UnwindSafe for FileModule
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