Struct paralegal_spdg::DisplayPath
source · pub struct DisplayPath<'a>(pub(crate) &'a [Identifier]);
Expand description
Provides a way to format rust paths
Tuple Fields§
§0: &'a [Identifier]
Trait Implementations§
source§impl Display for DisplayPath<'_>
impl Display for DisplayPath<'_>
source§impl<'a> From<&'a [Identifier]> for DisplayPath<'a>
impl<'a> From<&'a [Identifier]> for DisplayPath<'a>
source§fn from(value: &'a [Identifier]) -> Self
fn from(value: &'a [Identifier]) -> Self
Converts to this type from the input type.
source§impl<'a> From<&'a Box<[Identifier], Global>> for DisplayPath<'a>
impl<'a> From<&'a Box<[Identifier], Global>> for DisplayPath<'a>
source§fn from(value: &'a Box<[Identifier]>) -> Self
fn from(value: &'a Box<[Identifier]>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> RefUnwindSafe for DisplayPath<'a>
impl<'a> Send for DisplayPath<'a>
impl<'a> Sync for DisplayPath<'a>
impl<'a> Unpin for DisplayPath<'a>
impl<'a> UnwindSafe for DisplayPath<'a>
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