pub struct PathIdent { /* private fields */ }
Implementations§
Source§impl PathIdent
impl PathIdent
pub fn simple(name: String) -> Self
pub fn new(name: Vec<&str>) -> Self
pub fn continued(first: PathIdent, next: String) -> Self
pub fn pop_front(&self) -> Result<PathIdent, PathError>
pub fn get_front(&self) -> Result<&String, PathError>
pub fn get_back(&self) -> Result<&String, PathError>
pub fn is_final(&self) -> Result<bool, PathError>
pub fn is_empty(&self) -> bool
Trait Implementations§
impl StructuralPartialEq for PathIdent
Auto Trait Implementations§
impl Freeze for PathIdent
impl RefUnwindSafe for PathIdent
impl Send for PathIdent
impl Sync for PathIdent
impl Unpin for PathIdent
impl UnwindSafe for PathIdent
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