pub struct BoundPath { /* private fields */ }Expand description
A rendered path rooted at a declared crate facing.
Implementations§
Source§impl BoundPath
impl BoundPath
Sourcepub fn rooted(
facing: CrateFacing,
segments: Vec<String>,
) -> Result<Self, DeclarationError>
pub fn rooted( facing: CrateFacing, segments: Vec<String>, ) -> Result<Self, DeclarationError>
Declares a rooted item path.
§Errors
Returns the identifier, empty, or magnitude refusal established by the input.
Sourcepub const fn facing(&self) -> CrateFacing
pub const fn facing(&self) -> CrateFacing
Reads the crate facing.
Trait Implementations§
impl Eq for BoundPath
impl StructuralPartialEq for BoundPath
Auto Trait Implementations§
impl Freeze for BoundPath
impl RefUnwindSafe for BoundPath
impl Send for BoundPath
impl Sync for BoundPath
impl Unpin for BoundPath
impl UnsafeUnpin for BoundPath
impl UnwindSafe for BoundPath
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