Struct jj_lib::repo_path::RepoPathComponentBuf
source · pub struct RepoPathComponentBuf { /* private fields */ }
Expand description
Owned RepoPath
component.
Methods from Deref<Target = RepoPathComponent>§
Trait Implementations§
source§impl AsRef<RepoPathComponent> for RepoPathComponentBuf
impl AsRef<RepoPathComponent> for RepoPathComponentBuf
source§fn as_ref(&self) -> &RepoPathComponent
fn as_ref(&self) -> &RepoPathComponent
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Borrow<RepoPathComponent> for RepoPathComponentBuf
impl Borrow<RepoPathComponent> for RepoPathComponentBuf
source§fn borrow(&self) -> &RepoPathComponent
fn borrow(&self) -> &RepoPathComponent
Immutably borrows from an owned value. Read more
source§impl Clone for RepoPathComponentBuf
impl Clone for RepoPathComponentBuf
source§fn clone(&self) -> RepoPathComponentBuf
fn clone(&self) -> RepoPathComponentBuf
Returns a copy 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 moresource§impl ContentHash for RepoPathComponentBuf
impl ContentHash for RepoPathComponentBuf
source§impl Debug for RepoPathComponentBuf
impl Debug for RepoPathComponentBuf
source§impl Deref for RepoPathComponentBuf
impl Deref for RepoPathComponentBuf
source§impl From<&str> for RepoPathComponentBuf
impl From<&str> for RepoPathComponentBuf
source§impl From<String> for RepoPathComponentBuf
impl From<String> for RepoPathComponentBuf
source§impl Hash for RepoPathComponentBuf
impl Hash for RepoPathComponentBuf
source§impl Ord for RepoPathComponentBuf
impl Ord for RepoPathComponentBuf
source§fn cmp(&self, other: &RepoPathComponentBuf) -> Ordering
fn cmp(&self, other: &RepoPathComponentBuf) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RepoPathComponentBuf
impl PartialEq for RepoPathComponentBuf
source§fn eq(&self, other: &RepoPathComponentBuf) -> bool
fn eq(&self, other: &RepoPathComponentBuf) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for RepoPathComponentBuf
impl PartialOrd for RepoPathComponentBuf
source§fn partial_cmp(&self, other: &RepoPathComponentBuf) -> Option<Ordering>
fn partial_cmp(&self, other: &RepoPathComponentBuf) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for RepoPathComponentBuf
impl StructuralPartialEq for RepoPathComponentBuf
Auto Trait Implementations§
impl Freeze for RepoPathComponentBuf
impl RefUnwindSafe for RepoPathComponentBuf
impl Send for RepoPathComponentBuf
impl Sync for RepoPathComponentBuf
impl Unpin for RepoPathComponentBuf
impl UnwindSafe for RepoPathComponentBuf
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