Struct PathSegment
pub struct PathSegment(/* private fields */);Expand description
One segment inside a dot-separated document path.
Implementations§
§impl PathSegment
impl PathSegment
Trait Implementations§
§impl AsRef<str> for PathSegment
impl AsRef<str> for PathSegment
§impl Clone for PathSegment
impl Clone for PathSegment
§fn clone(&self) -> PathSegment
fn clone(&self) -> PathSegment
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for PathSegment
impl Debug for PathSegment
§impl Default for PathSegment
impl Default for PathSegment
§fn default() -> PathSegment
fn default() -> PathSegment
Returns the “default value” for a type. Read more
§impl Display for PathSegment
impl Display for PathSegment
§impl From<&str> for PathSegment
impl From<&str> for PathSegment
§fn from(value: &str) -> PathSegment
fn from(value: &str) -> PathSegment
Converts to this type from the input type.
§impl From<String> for PathSegment
impl From<String> for PathSegment
§fn from(value: String) -> PathSegment
fn from(value: String) -> PathSegment
Converts to this type from the input type.
§impl Hash for PathSegment
impl Hash for PathSegment
§impl Ord for PathSegment
impl Ord for PathSegment
§impl PartialEq for PathSegment
impl PartialEq for PathSegment
§impl PartialOrd for PathSegment
impl PartialOrd for PathSegment
impl Eq for PathSegment
impl StructuralPartialEq for PathSegment
Auto Trait Implementations§
impl Freeze for PathSegment
impl RefUnwindSafe for PathSegment
impl Send for PathSegment
impl Sync for PathSegment
impl Unpin for PathSegment
impl UnsafeUnpin for PathSegment
impl UnwindSafe for PathSegment
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