pub struct CanonicalPathReference { /* private fields */ }Implementations§
Source§impl CanonicalPathReference
impl CanonicalPathReference
pub fn new( namespace_resolver: &dyn PathReferenceNamespaceResolver, namespace: String, path: String, importable_name: ImportableName, ) -> Self
pub fn namespace(&self) -> &str
pub fn path(&self) -> &str
pub fn importable_name(&self) -> &ImportableName
pub fn canonicalized_absolute_path( &self, namespace_resolver: &dyn PathReferenceNamespaceResolver, source_file_path: &Path, ) -> DataSetResult<PathReference>
Trait Implementations§
Source§impl Clone for CanonicalPathReference
impl Clone for CanonicalPathReference
Source§fn clone(&self) -> CanonicalPathReference
fn clone(&self) -> CanonicalPathReference
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 CanonicalPathReference
impl Debug for CanonicalPathReference
Source§impl Display for CanonicalPathReference
impl Display for CanonicalPathReference
impl Eq for CanonicalPathReference
Source§impl Hash for CanonicalPathReference
impl Hash for CanonicalPathReference
Source§impl PartialEq for CanonicalPathReference
impl PartialEq for CanonicalPathReference
Source§fn eq(&self, other: &CanonicalPathReference) -> bool
fn eq(&self, other: &CanonicalPathReference) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CanonicalPathReference
Auto Trait Implementations§
impl Freeze for CanonicalPathReference
impl RefUnwindSafe for CanonicalPathReference
impl Send for CanonicalPathReference
impl Sync for CanonicalPathReference
impl Unpin for CanonicalPathReference
impl UnsafeUnpin for CanonicalPathReference
impl UnwindSafe for CanonicalPathReference
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